From 640f0a6186e4581d89b4616d4620ba7344d09ac1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 6 May 2024 21:41:52 +0200 Subject: work on DD23 --- src/kyclogic/kyclogic_api.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/kyclogic') 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. */ -- cgit v1.2.3