diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-04-12 15:44:47 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-04-12 15:44:47 +0200 |
commit | c176ce9d0402195ee19a1bcae792ee2ccbd33e3b (patch) | |
tree | 57cbde9f7c8abeb24cf01f6302a48b52c86b995d /src/include/taler_merchantdb_plugin.h | |
parent | fc27666623c28fedf272495881ee63d7580cd589 (diff) |
add wirewatch CRU(D) functions to merchant DB API
Diffstat (limited to 'src/include/taler_merchantdb_plugin.h')
-rw-r--r-- | src/include/taler_merchantdb_plugin.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h index 07bfffd6..c1d5ae27 100644 --- a/src/include/taler_merchantdb_plugin.h +++ b/src/include/taler_merchantdb_plugin.h @@ -1999,6 +1999,49 @@ struct TALER_MERCHANTDB_Plugin char **order_id); /** + * Insert information about progress made by taler-merchant-wirewatch. + * + * @param cls closure + * @param section configuration section of the taler-merchant-wirewatch + * @param last_serial last serial imported from the bank + * @return transaction status + */ + enum GNUNET_DB_QueryStatus + (*insert_wirewatch_progress)( + void *cls, + const char *section, + uint64_t last_serial); + + /** + * Update information about progress made by taler-merchant-wirewatch. + * + * @param cls closure + * @param section configuration section of the taler-merchant-wirewatch + * @param last_serial last serial imported from the bank + * @return transaction status + */ + enum GNUNET_DB_QueryStatus + (*update_wirewatch_progress)( + void *cls, + const char *section, + uint64_t last_serial); + + /** + * Select information about progress made by taler-merchant-wirewatch. + * + * @param cls closure + * @param section configuration section of the taler-merchant-wirewatch + * @param[out] last_serial set to last serial imported from the bank + * @return transaction status + */ + enum GNUNET_DB_QueryStatus + (*select_wirewatch_progress)( + void *cls, + const char *section, + uint64_t *last_serial); + + + /** * Insert information about a wire transfer the merchant has received. * * @param cls closure |