merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 47269a5c4478c0108359363e24af4b98dc674403
parent cd1b6d7b36200e7802bced0dfa60e60116dbb977
Author: MS <ms@taler.net>
Date:   Tue, 20 Oct 2020 17:41:12 +0200

Fix references to GNUnet and MHD.

Diffstat:
Mcontrib/gnunet.tag | 17+++++++++++++++++
Mcontrib/microhttpd.tag | 12++++++++++++
Msrc/backenddb/plugin_merchantdb_postgres.c | 4++--
Msrc/include/taler_merchantdb_plugin.h | 4++--
4 files changed, 33 insertions(+), 4 deletions(-)

diff --git a/contrib/gnunet.tag b/contrib/gnunet.tag @@ -1,6 +1,17 @@ <?xml version='1.0' encoding='UTF-8' standalone='yes' ?> <tagfile> <compound kind="file"> + <name>gnunet_time_lib.h</name> + <path></path> + <filename>gnunet_time_lib.h</filename> + <member kind="define"> + <type>#define</type> + <name>GNUNET_TIME_UNIT_ZERO_ABS</name> + <anchorfile>gnunet_time_lib.h</anchorfile> + <arglist></arglist> + </member> + </compound> + <compound kind="file"> <name>gnunet_util_lib.h</name> <path></path> <filename>gnunet_util_lib.h</filename> @@ -89,6 +100,12 @@ <filename>gnunet_db_lib.h</filename> <member kind="define"> <type>#define</type> + <name>GNUNET_DB_STATUS_HARD_ERROR</name> + <anchorfile>gnunet_db_lib.h</anchorfile> + <arglist></arglist> + </member> + <member kind="define"> + <type>#define</type> <name>GNUNET_DB_STATUS_SUCCESS_ONE_RESULT</name> <anchorfile>gnunet_db_lib.h</anchorfile> <arglist></arglist> diff --git a/contrib/microhttpd.tag b/contrib/microhttpd.tag @@ -46,6 +46,18 @@ </member> <member kind="define"> <type>#define</type> + <name>MHD_HTTP_FAILED_DEPENDENCY</name> + <anchorfile>microhttpd.h</anchorfile> + <arglist></arglist> + </member> + <member kind="define"> + <type>#define</type> + <name>MHD_HTTP_SERVICE_UNAVAILABLE</name> + <anchorfile>microhttpd.h</anchorfile> + <arglist></arglist> + </member> + <member kind="define"> + <type>#define</type> <name>MHD_HTTP_NOT_FOUND</name> <anchorfile>microhttpd.h</anchorfile> <arglist></arglist> diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c @@ -991,7 +991,7 @@ postgres_insert_product (void *cls, * exceed total_stock minus the existing total_sold; * total_sold and total_stock must be larger or equal to * the existing value; - * @return database result code, #GNUNET_DB_SUCCESS_NO_RESULTS if the + * @return database result code, #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if the * non-decreasing constraints are not met *or* if the product * does not yet exist. */ @@ -1036,7 +1036,7 @@ postgres_update_product (void *cls, * @param uuid the UUID that holds the lock * @param quantity how many units should be locked * @param expiration_time when should the lock expire - * @return database result code, #GNUNET_DB_SUCCESS_NO_RESULTS if the + * @return database result code, #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if the * product is unknown OR if there insufficient stocks remaining */ static enum GNUNET_DB_QueryStatus diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h @@ -906,7 +906,7 @@ struct TALER_MERCHANTDB_Plugin * exceed total_stock minus the existing total_sold; * total_sold and total_stock must be larger or equal to * the existing value; - * @return database result code, #GNUNET_DB_SUCCESS_NO_RESULTS if the + * @return database result code, #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if the * non-decreasing constraints are not met *or* if the product * does not yet exist. */ @@ -926,7 +926,7 @@ struct TALER_MERCHANTDB_Plugin * @param uuid the UUID that holds the lock * @param quantity how many units should be locked * @param expiration_time when should the lock expire - * @return database result code, #GNUNET_DB_SUCCESS_NO_RESULTS if the + * @return database result code, #GNUNET_DB_STATUS_SUCCESS_NO_RESULTS if the * product is unknown OR if there insufficient stocks remaining */ enum GNUNET_DB_QueryStatus