diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-05-06 21:41:52 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-07-29 12:18:40 +0200 |
commit | 640f0a6186e4581d89b4616d4620ba7344d09ac1 (patch) | |
tree | bdb80da2612a066697ca8b71d001a04751a98e4d /src/kyclogic | |
parent | ceb2b95a60570d7cb4d97a683773a8c95530b3e6 (diff) |
work on DD23
Diffstat (limited to 'src/kyclogic')
-rw-r--r-- | src/kyclogic/kyclogic_api.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c index 1efb23636..9fb024a57 100644 --- a/src/kyclogic/kyclogic_api.c +++ b/src/kyclogic/kyclogic_api.c @@ -278,6 +278,11 @@ struct TALER_KYCLOGIC_LegitimizationRuleSet * Length of the @e custom_measures array. */ unsigned int num_custom_measures; + + /** + * Display priority for this rule. + */ + uint32_t display_priority; }; @@ -298,6 +303,20 @@ TALER_KYCLOGIC_rules_free (struct TALER_KYCLOGIC_KycRuleSet *krs) } +const char * +TALER_KYCLOGIC_rule2s (struct TALER_KYCLOGIC_KycRule *r) +{ + return r->rule_name; +} + + +uint32_t +TALER_KYCLOGIC_rule2priority (struct TALER_KYCLOGIC_KycRule *r) +{ + return r->display_priority; +} + + /** * AML programs. */ |