diff options
Diffstat (limited to 'src/kyclogic/kyclogic_api.c')
-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. */ |