diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-12-30 13:45:36 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-12-30 13:45:36 +0100 |
commit | b7000379ed2c7ca31aeb4561a0ffc1c4bf9405c7 (patch) | |
tree | 50006273f188424fa93403c9866377961fd47619 /src/exchangedb/pg_select_aml_process.h | |
parent | 5169abcdcd2710d002721ff0d1c6fcc53b8dab54 (diff) | |
download | exchange-b7000379ed2c7ca31aeb4561a0ffc1c4bf9405c7.tar.xz |
-add prototypes
Diffstat (limited to 'src/exchangedb/pg_select_aml_process.h')
-rw-r--r-- | src/exchangedb/pg_select_aml_process.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/exchangedb/pg_select_aml_process.h b/src/exchangedb/pg_select_aml_process.h index c8655c249..019f58b26 100644 --- a/src/exchangedb/pg_select_aml_process.h +++ b/src/exchangedb/pg_select_aml_process.h @@ -26,4 +26,25 @@ #include "taler_exchangedb_plugin.h" +/** + * Lookup AML decisions that have a particular state. + * + * @param cls closure + * @param decision which decision states to filter by + * @param row_off offset to start from + * @param forward true to go forward in time, false to go backwards + * @param cb callback to invoke on each match + * @param cb_cls closure for @a cb + * @return database transaction status + */ +enum GNUNET_DB_QueryStatus +TEH_PG_select_aml_process ( + void *cls, + enum TALER_AmlDecisionState decision, + uint64_t row_off, + bool forward, + TALER_EXCHANGEDB_AmlStatusCallback cb, + void *cb_cls); + + #endif |