diff options
Diffstat (limited to 'src/include/taler_exchangedb_plugin.h')
-rw-r--r-- | src/include/taler_exchangedb_plugin.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/include/taler_exchangedb_plugin.h b/src/include/taler_exchangedb_plugin.h index 48671fc51..44e1b8cfb 100644 --- a/src/include/taler_exchangedb_plugin.h +++ b/src/include/taler_exchangedb_plugin.h @@ -7064,6 +7064,23 @@ struct TALER_EXCHANGEDB_Plugin /** + * Lookup KYC rules by account access token. + * + * @param cls closure + * @param h_payto account payto hash to look under + * @param[out] jnew_rules set to active LegitimizationRuleSet + * @param[out] rowid row of the last legitimization outcome + * @return database transaction status + */ + enum GNUNET_DB_QueryStatus + (*lookup_rules_by_access_token)( + void *cls, + const struct TALER_PaytoHashP *h_payto, + json_t **jnew_rules, + uint64_t *rowid); + + + /** * Lookup KYC process meta data. * * @param cls closure @@ -7612,6 +7629,26 @@ struct TALER_EXCHANGEDB_Plugin /** + * Create new active legitimization measure. + * + * + * @param cls closure + * @param access_token access token that identifies the + * account the legitimization measures apply to + * @param jmeasures new legitimization measures + * @param[out] legitimization_measure_serial_id + * set to new row in legitimization_measures table + * @return database transaction status + */ + enum GNUNET_DB_QueryStatus + (*insert_active_legitimization_measure) ( + void *cls, + const struct TALER_AccountAccessTokenP *access_token, + const json_t *jmeasures, + uint64_t *legitimization_measure_serial_id); + + + /** * Insert an AML decision. Inserts into AML history and insert or updates AML * status. * |