aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2024-08-01 21:05:28 +0200
committerChristian Grothoff <grothoff@gnunet.org>2024-08-01 21:05:28 +0200
commita33307ffc8351172fcdbddbd65fd255109719b5e (patch)
treeb178e50a4c83e9cddda9f22200dc5da1322d5699
parent56f114995ab90c23b72900d9209510bebd707809 (diff)
doxygen fixes
m---------contrib/gana0
m---------contrib/wallet-core0
-rw-r--r--src/auditor/report-lib.c3
-rw-r--r--src/auditor/taler-auditor-httpd_amount-arithmetic-inconsistency-get.c12
-rw-r--r--src/auditor/taler-auditor-httpd_bad-sig-losses-get.c35
-rw-r--r--src/auditor/taler-auditor-httpd_balances-get.c35
-rw-r--r--src/auditor/taler-auditor-httpd_closure-lags-del.c3
-rw-r--r--src/auditor/taler-auditor-httpd_closure-lags-get.c35
-rw-r--r--src/auditor/taler-auditor-httpd_coin-inconsistency-get.c33
-rw-r--r--src/auditor/taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-get.c51
-rw-r--r--src/auditor/taler-auditor-httpd_denomination-pending-get.c35
-rw-r--r--src/auditor/taler-auditor-httpd_denominations-without-sigs-get.c35
-rw-r--r--src/auditor/taler-auditor-httpd_deposit-confirmation-get.c13
-rw-r--r--src/auditor/taler-auditor-httpd_emergency-by-count-get.c24
-rw-r--r--src/auditor/taler-auditor-httpd_emergency-get.c35
-rw-r--r--src/auditor/taler-auditor-httpd_fee-time-inconsistency-get.c35
-rw-r--r--src/auditor/taler-auditor-httpd_historic-denomination-revenue-get.c47
-rw-r--r--src/auditor/taler-auditor-httpd_historic-reserve-summary-get.c32
-rw-r--r--src/auditor/taler-auditor-httpd_mhd.c23
-rw-r--r--src/auditor/taler-auditor-httpd_misattribution-in-inconsistency-get.c32
-rw-r--r--src/auditor/taler-auditor-httpd_progress-get.c46
-rw-r--r--src/auditor/taler-auditor-httpd_purse-not-closed-inconsistencies-get.c46
-rw-r--r--src/auditor/taler-auditor-httpd_purses-get.c46
-rw-r--r--src/auditor/taler-auditor-httpd_refreshes-hanging-get.c46
-rw-r--r--src/auditor/taler-auditor-httpd_reserve-balance-insufficient-inconsistency-get.c49
-rw-r--r--src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c49
-rw-r--r--src/auditor/taler-auditor-httpd_reserve-in-inconsistency-get.c35
-rw-r--r--src/auditor/taler-auditor-httpd_reserve-not-closed-inconsistency-get.c35
-rw-r--r--src/auditor/taler-auditor-httpd_reserves-get.c35
-rw-r--r--src/auditor/taler-auditor-httpd_row-inconsistency-get.c33
-rw-r--r--src/auditor/taler-auditor-httpd_row-minor-inconsistencies-get.c35
-rw-r--r--src/auditor/taler-auditor-httpd_wire-format-inconsistency-get.c35
-rw-r--r--src/auditor/taler-auditor-httpd_wire-out-inconsistency-get.c35
-rw-r--r--src/auditor/taler-helper-auditor-aggregation.c12
-rw-r--r--src/auditor/taler-helper-auditor-coins.c3
-rw-r--r--src/auditor/taler-helper-auditor-deposits.c3
-rw-r--r--src/auditor/taler-helper-auditor-purses.c3
37 files changed, 420 insertions, 644 deletions
diff --git a/contrib/gana b/contrib/gana
-Subproject d0a05d57c856c8b68342ac075fb8d5f0f26f5df
+Subproject 385f602f1434a2d9cc0b4b8b12d1d3376acb405
diff --git a/contrib/wallet-core b/contrib/wallet-core
-Subproject 6fa7e435858b4a22506588cb1142cdc9b142273
+Subproject 5934e007f637bd9834a811e67c0a030d7a59f2c
diff --git a/src/auditor/report-lib.c b/src/auditor/report-lib.c
index 773f11415..f5aa05230 100644
--- a/src/auditor/report-lib.c
+++ b/src/auditor/report-lib.c
@@ -316,7 +316,8 @@ transact (TALER_ARL_Analysis analysis,
else
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Processing failed (or no changes), rolling back transaction\n");
+ "Processing failed (or no changes), rolling back transaction\n")
+ ;
TALER_ARL_adb->rollback (TALER_ARL_adb->cls);
TALER_ARL_edb->rollback (TALER_ARL_edb->cls);
}
diff --git a/src/auditor/taler-auditor-httpd_amount-arithmetic-inconsistency-get.c b/src/auditor/taler-auditor-httpd_amount-arithmetic-inconsistency-get.c
index b14cd849f..e8e64e3d0 100644
--- a/src/auditor/taler-auditor-httpd_amount-arithmetic-inconsistency-get.c
+++ b/src/auditor/taler-auditor-httpd_amount-arithmetic-inconsistency-get.c
@@ -62,20 +62,10 @@ add_amount_arithmetic_inconsistency (
}
-/**
- *
- * @param rh context of the handler
- * @param connection the MHD connection to handle
- * @param[in,out] connection_cls the connection's closure (can be updated)
- * @param upload_data upload data
- * @param[in,out] upload_data_size number of bytes (left) in @a upload_data
- * @return MHD result code
- */
MHD_RESULT
TAH_AMOUNT_ARITHMETIC_INCONSISTENCY_handler_get (
struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
+ struct MHD_Connection *connection,
void **connection_cls,
const char *upload_data,
size_t *upload_data_size,
diff --git a/src/auditor/taler-auditor-httpd_bad-sig-losses-get.c b/src/auditor/taler-auditor-httpd_bad-sig-losses-get.c
index 4117bec37..13508726c 100644
--- a/src/auditor/taler-auditor-httpd_bad-sig-losses-get.c
+++ b/src/auditor/taler-auditor-httpd_bad-sig-losses-get.c
@@ -35,11 +35,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-add_bad_sig_losses (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_BadSigLosses
- *dc)
+add_bad_sig_losses (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_BadSigLosses
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -61,23 +62,15 @@ add_bad_sig_losses (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_BAD_SIG_LOSSES_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_BAD_SIG_LOSSES_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_balances-get.c b/src/auditor/taler-auditor-httpd_balances-get.c
index a685a6b3f..4d8803ad5 100644
--- a/src/auditor/taler-auditor-httpd_balances-get.c
+++ b/src/auditor/taler-auditor-httpd_balances-get.c
@@ -35,11 +35,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_balances (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_Balances
- *dc)
+process_balances (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_Balances
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -61,23 +62,15 @@ process_balances (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_BALANCES_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_BALANCES_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_closure-lags-del.c b/src/auditor/taler-auditor-httpd_closure-lags-del.c
index 7d1f3f6ea..abf62393f 100644
--- a/src/auditor/taler-auditor-httpd_closure-lags-del.c
+++ b/src/auditor/taler-auditor-httpd_closure-lags-del.c
@@ -73,6 +73,7 @@ TAH_CLOSURE_LAGS_handler_delete (struct TAH_RequestHandler *rh,
return TALER_MHD_REPLY_JSON_PACK (connection,
MHD_HTTP_NO_CONTENT,
GNUNET_JSON_pack_string ("status",
- "CLOSURE_LAGS_OK"));
+ "CLOSURE_LAGS_OK"))
+ ;
}
diff --git a/src/auditor/taler-auditor-httpd_closure-lags-get.c b/src/auditor/taler-auditor-httpd_closure-lags-get.c
index 30a8422af..084799a59 100644
--- a/src/auditor/taler-auditor-httpd_closure-lags-get.c
+++ b/src/auditor/taler-auditor-httpd_closure-lags-get.c
@@ -35,11 +35,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_closure_lags (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_ClosureLags
- *dc)
+process_closure_lags (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_ClosureLags
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -61,23 +62,15 @@ process_closure_lags (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_CLOSURE_LAGS_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_CLOSURE_LAGS_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_coin-inconsistency-get.c b/src/auditor/taler-auditor-httpd_coin-inconsistency-get.c
index 7a87c6569..a7f120f23 100644
--- a/src/auditor/taler-auditor-httpd_coin-inconsistency-get.c
+++ b/src/auditor/taler-auditor-httpd_coin-inconsistency-get.c
@@ -36,9 +36,10 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-add_coin_inconsistency (void *cls,
- uint64_t serial_id,
- const struct TALER_AUDITORDB_CoinInconsistency *dc)
+add_coin_inconsistency (
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_CoinInconsistency *dc)
{
json_t *list = cls;
json_t *obj;
@@ -60,23 +61,15 @@ add_coin_inconsistency (void *cls,
}
-/**
- *
- * @param rh context of the handler
- * @param connection the MHD connection to handle
- * @param[in,out] connection_cls the connection's closure (can be updated)
- * @param upload_data upload data
- * @param[in,out] upload_data_size number of bytes (left) in @a upload_data
- * @return MHD result code
- */
MHD_RESULT
-TAH_COIN_INCONSISTENCY_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_COIN_INCONSISTENCY_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
@@ -142,4 +135,4 @@ TAH_COIN_INCONSISTENCY_handler_get (struct TAH_RequestHandler *rh,
MHD_HTTP_OK,
GNUNET_JSON_pack_array_steal ("coin_inconsistency",
ja));
-} \ No newline at end of file
+}
diff --git a/src/auditor/taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-get.c b/src/auditor/taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-get.c
index 5c76f7a3d..15b84345f 100644
--- a/src/auditor/taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-get.c
+++ b/src/auditor/taler-auditor-httpd_denomination-key-validity-withdraw-inconsistency-get.c
@@ -36,11 +36,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_denomination_key_validity_withdraw_inconsistency (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_DenominationKeyValidityWithdrawInconsistency
- *dc)
+process_denomination_key_validity_withdraw_inconsistency (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_DenominationKeyValidityWithdrawInconsistency
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -61,31 +62,23 @@ process_denomination_key_validity_withdraw_inconsistency (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_DENOMINATION_KEY_VALIDITY_WITHDRAW_INCONSISTENCY_handler_get (struct
- TAH_RequestHandler
- *rh,
- struct
- MHD_Connection
- *
- connection,
- void **
- connection_cls,
- const char *
- upload_data,
- size_t *
- upload_data_size,
- const char *
- const args[])
+TAH_DENOMINATION_KEY_VALIDITY_WITHDRAW_INCONSISTENCY_handler_get (
+ struct
+ TAH_RequestHandler
+ *rh,
+ struct
+ MHD_Connection
+ *
+ connection,
+ void **
+ connection_cls,
+ const char *
+ upload_data,
+ size_t *
+ upload_data_size,
+ const char *
+ const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_denomination-pending-get.c b/src/auditor/taler-auditor-httpd_denomination-pending-get.c
index ac05ede14..0afae362c 100644
--- a/src/auditor/taler-auditor-httpd_denomination-pending-get.c
+++ b/src/auditor/taler-auditor-httpd_denomination-pending-get.c
@@ -35,11 +35,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_denomination_pending (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_DenominationPending
- *dc)
+process_denomination_pending (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_DenominationPending
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -64,23 +65,15 @@ process_denomination_pending (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_DENOMINATION_PENDING_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_DENOMINATION_PENDING_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_denominations-without-sigs-get.c b/src/auditor/taler-auditor-httpd_denominations-without-sigs-get.c
index 9279420f6..ac940e325 100644
--- a/src/auditor/taler-auditor-httpd_denominations-without-sigs-get.c
+++ b/src/auditor/taler-auditor-httpd_denominations-without-sigs-get.c
@@ -35,11 +35,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_denominations_without_sigs (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_DenominationsWithoutSigs
- *dc)
+process_denominations_without_sigs (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_DenominationsWithoutSigs
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -64,23 +65,15 @@ process_denominations_without_sigs (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_DENOMINATIONS_WITHOUT_SIGS_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_DENOMINATIONS_WITHOUT_SIGS_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_deposit-confirmation-get.c b/src/auditor/taler-auditor-httpd_deposit-confirmation-get.c
index f0e1dc61a..51ea5c201 100644
--- a/src/auditor/taler-auditor-httpd_deposit-confirmation-get.c
+++ b/src/auditor/taler-auditor-httpd_deposit-confirmation-get.c
@@ -102,12 +102,13 @@ add_deposit_confirmation (void *cls,
MHD_RESULT
-TAH_DEPOSIT_CONFIRMATION_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_DEPOSIT_CONFIRMATION_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_emergency-by-count-get.c b/src/auditor/taler-auditor-httpd_emergency-by-count-get.c
index aa72e5ebd..7c3d5bafa 100644
--- a/src/auditor/taler-auditor-httpd_emergency-by-count-get.c
+++ b/src/auditor/taler-auditor-httpd_emergency-by-count-get.c
@@ -65,23 +65,15 @@ process_emergency_by_count (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_EMERGENCY_BY_COUNT_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_EMERGENCY_BY_COUNT_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_emergency-get.c b/src/auditor/taler-auditor-httpd_emergency-get.c
index b09771574..61a37e88c 100644
--- a/src/auditor/taler-auditor-httpd_emergency-get.c
+++ b/src/auditor/taler-auditor-httpd_emergency-get.c
@@ -36,11 +36,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_emergency (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_Emergency
- *dc)
+process_emergency (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_Emergency
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -69,23 +70,15 @@ process_emergency (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_EMERGENCY_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_EMERGENCY_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_fee-time-inconsistency-get.c b/src/auditor/taler-auditor-httpd_fee-time-inconsistency-get.c
index 4ff8bfbaa..8b4b6eb5e 100644
--- a/src/auditor/taler-auditor-httpd_fee-time-inconsistency-get.c
+++ b/src/auditor/taler-auditor-httpd_fee-time-inconsistency-get.c
@@ -35,11 +35,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_fee_time_inconsistency (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_FeeTimeInconsistency
- *dc)
+process_fee_time_inconsistency (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_FeeTimeInconsistency
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -61,23 +62,15 @@ process_fee_time_inconsistency (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_FEE_TIME_INCONSISTENCY_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_FEE_TIME_INCONSISTENCY_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_historic-denomination-revenue-get.c b/src/auditor/taler-auditor-httpd_historic-denomination-revenue-get.c
index ad696fc1f..30d772a1b 100644
--- a/src/auditor/taler-auditor-httpd_historic-denomination-revenue-get.c
+++ b/src/auditor/taler-auditor-httpd_historic-denomination-revenue-get.c
@@ -26,20 +26,20 @@
#include "taler-auditor-httpd.h"
#include "taler-auditor-httpd_historic-denomination-revenue-get.h"
+
/**
-* Add historic-denomination-revenue to the list.
-*
-* @param[in,out] cls a `json_t *` array to extend
-* @param serial_id location of the @a dc in the database
-* @param dc struct of inconsistencies
-* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
-*/
+ * Add historic-denomination-revenue to the list.
+ *
+ * @param[in,out] cls a `json_t *` array to extend
+ * @param serial_id location of the @a dc in the database
+ * @param dc struct of inconsistencies
+ * @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
+ */
static enum GNUNET_GenericReturnValue
-process_historic_denomination_revenue (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_HistoricDenominationRevenue
- *dc)
+process_historic_denomination_revenue (
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_HistoricDenominationRevenue *dc)
{
json_t *list = cls;
json_t *obj;
@@ -62,23 +62,14 @@ process_historic_denomination_revenue (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_HISTORIC_DENOMINATION_REVENUE_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_HISTORIC_DENOMINATION_REVENUE_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_historic-reserve-summary-get.c b/src/auditor/taler-auditor-httpd_historic-reserve-summary-get.c
index 88b5866a4..29a4465f9 100644
--- a/src/auditor/taler-auditor-httpd_historic-reserve-summary-get.c
+++ b/src/auditor/taler-auditor-httpd_historic-reserve-summary-get.c
@@ -35,11 +35,10 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_historic_reserve_summary (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_HistoricReserveSummary
- *dc)
+process_historic_reserve_summary (
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_HistoricReserveSummary *dc)
{
json_t *list = cls;
json_t *obj;
@@ -62,23 +61,14 @@ process_historic_reserve_summary (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_HISTORIC_RESERVE_SUMMARY_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_HISTORIC_RESERVE_SUMMARY_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_mhd.c b/src/auditor/taler-auditor-httpd_mhd.c
index f150c6846..80a6dcdfe 100644
--- a/src/auditor/taler-auditor-httpd_mhd.c
+++ b/src/auditor/taler-auditor-httpd_mhd.c
@@ -32,17 +32,7 @@
#include "taler-auditor-httpd.h"
#include "taler-auditor-httpd_mhd.h"
-/**
- * Function to call to handle the request by sending
- * back static data from the @a rh.
- *
- * @param rh context of the handler
- * @param connection the MHD connection to handle
- * @param[in,out] connection_cls the connection's closure (can be updated)
- * @param upload_data upload data
- * @param[in,out] upload_data_size number of bytes (left) in @a upload_data
- * @return MHD result code
- */
+
MHD_RESULT
TAH_MHD_handler_static_response (struct TAH_RequestHandler *rh,
struct MHD_Connection *connection,
@@ -67,17 +57,6 @@ TAH_MHD_handler_static_response (struct TAH_RequestHandler *rh,
}
-/**
- * Function to call to handle the request by sending
- * back a redirect to the AGPL source code.
- *
- * @param rh context of the handler
- * @param connection the MHD connection to handle
- * @param[in,out] connection_cls the connection's closure (can be updated)
- * @param upload_data upload data
- * @param[in,out] upload_data_size number of bytes (left) in @a upload_data
- * @return MHD result code
- */
MHD_RESULT
TAH_MHD_handler_agpl_redirect (struct TAH_RequestHandler *rh,
struct MHD_Connection *connection,
diff --git a/src/auditor/taler-auditor-httpd_misattribution-in-inconsistency-get.c b/src/auditor/taler-auditor-httpd_misattribution-in-inconsistency-get.c
index f10291bc7..7225be9aa 100644
--- a/src/auditor/taler-auditor-httpd_misattribution-in-inconsistency-get.c
+++ b/src/auditor/taler-auditor-httpd_misattribution-in-inconsistency-get.c
@@ -35,11 +35,10 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_misattribution_in_inconsistency (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_MisattributionInInconsistency
- *dc)
+process_misattribution_in_inconsistency (
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_MisattributionInInconsistency *dc)
{
json_t *list = cls;
json_t *obj;
@@ -63,23 +62,14 @@ process_misattribution_in_inconsistency (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_MISATTRIBUTION_IN_INCONSISTENCY_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_MISATTRIBUTION_IN_INCONSISTENCY_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_progress-get.c b/src/auditor/taler-auditor-httpd_progress-get.c
index f89d7002c..06933e53c 100644
--- a/src/auditor/taler-auditor-httpd_progress-get.c
+++ b/src/auditor/taler-auditor-httpd_progress-get.c
@@ -13,8 +13,6 @@
You should have received a copy of the GNU General Public License along with
TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
-
-
#include "platform.h"
#include <gnunet/gnunet_util_lib.h>
#include <gnunet/gnunet_json_lib.h>
@@ -27,17 +25,18 @@
#include "taler-auditor-httpd_progress-get.h"
/**
-* Add progress to the list.
-*
-* @param[in,out] cls a `json_t *` array to extend
-* @param serial_id location of the @a dc in the database
-* @param dc struct of inconsistencies
-* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
-*/
+ * Add progress to the list.
+ *
+ * @param[in,out] cls a `json_t *` array to extend
+ * @param serial_id location of the @a dc in the database
+ * @param dc struct of inconsistencies
+ * @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
+ */
static enum GNUNET_GenericReturnValue
-process_progress (void *cls,
- uint64_t serial_id,
- const struct TALER_AUDITORDB_Progress *dc)
+process_progress (
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_Progress *dc)
{
json_t *list = cls;
json_t *obj;
@@ -57,23 +56,14 @@ process_progress (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_PROGRESS_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_PROGRESS_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_purse-not-closed-inconsistencies-get.c b/src/auditor/taler-auditor-httpd_purse-not-closed-inconsistencies-get.c
index f08f02f5c..2d06456c1 100644
--- a/src/auditor/taler-auditor-httpd_purse-not-closed-inconsistencies-get.c
+++ b/src/auditor/taler-auditor-httpd_purse-not-closed-inconsistencies-get.c
@@ -27,19 +27,18 @@
#include "taler-auditor-httpd_purse-not-closed-inconsistencies-get.h"
/**
-* Add purse-not-closed-inconsistencies to the list.
-*
-* @param[in,out] cls a `json_t *` array to extend
-* @param serial_id location of the @a dc in the database
-* @param dc struct of inconsistencies
-* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
-*/
+ * Add purse-not-closed-inconsistencies to the list.
+ *
+ * @param[in,out] cls a `json_t *` array to extend
+ * @param serial_id location of the @a dc in the database
+ * @param dc struct of inconsistencies
+ * @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
+ */
static enum GNUNET_GenericReturnValue
-process_purse_not_closed_inconsistencies (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_PurseNotClosedInconsistencies
- *dc)
+process_purse_not_closed_inconsistencies (
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_PurseNotClosedInconsistencies *dc)
{
json_t *list = cls;
json_t *obj;
@@ -61,23 +60,14 @@ process_purse_not_closed_inconsistencies (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_PURSE_NOT_CLOSED_INCONSISTENCIES_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_PURSE_NOT_CLOSED_INCONSISTENCIES_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_purses-get.c b/src/auditor/taler-auditor-httpd_purses-get.c
index 78c13dd95..a581f62d3 100644
--- a/src/auditor/taler-auditor-httpd_purses-get.c
+++ b/src/auditor/taler-auditor-httpd_purses-get.c
@@ -27,19 +27,18 @@
#include "taler-auditor-httpd_purses-get.h"
/**
-* Add purses to the list.
-*
-* @param[in,out] cls a `json_t *` array to extend
-* @param serial_id location of the @a dc in the database
-* @param dc struct of inconsistencies
-* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
-*/
+ * Add purses to the list.
+ *
+ * @param[in,out] cls a `json_t *` array to extend
+ * @param serial_id location of the @a dc in the database
+ * @param dc struct of inconsistencies
+ * @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
+ */
static enum GNUNET_GenericReturnValue
-process_purses (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_Purses
- *dc)
+process_purses (
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_Purses *dc)
{
json_t *list = cls;
json_t *obj;
@@ -63,23 +62,14 @@ process_purses (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_PURSES_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_PURSES_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_refreshes-hanging-get.c b/src/auditor/taler-auditor-httpd_refreshes-hanging-get.c
index 7256c559c..50a308517 100644
--- a/src/auditor/taler-auditor-httpd_refreshes-hanging-get.c
+++ b/src/auditor/taler-auditor-httpd_refreshes-hanging-get.c
@@ -27,19 +27,18 @@
#include "taler-auditor-httpd_refreshes-hanging-get.h"
/**
-* Add refreshes-hanging to the list.
-*
-* @param[in,out] cls a `json_t *` array to extend
-* @param serial_id location of the @a dc in the database
-* @param dc struct of inconsistencies
-* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
-*/
+ * Add refreshes-hanging to the list.
+ *
+ * @param[in,out] cls a `json_t *` array to extend
+ * @param serial_id location of the @a dc in the database
+ * @param dc struct of inconsistencies
+ * @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
+ */
static enum GNUNET_GenericReturnValue
-process_refreshes_hanging (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_RefreshesHanging
- *dc)
+process_refreshes_hanging (
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_RefreshesHanging *dc)
{
json_t *list = cls;
json_t *obj;
@@ -59,23 +58,14 @@ process_refreshes_hanging (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_REFRESHES_HANGING_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_REFRESHES_HANGING_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_reserve-balance-insufficient-inconsistency-get.c b/src/auditor/taler-auditor-httpd_reserve-balance-insufficient-inconsistency-get.c
index 597344452..111e19349 100644
--- a/src/auditor/taler-auditor-httpd_reserve-balance-insufficient-inconsistency-get.c
+++ b/src/auditor/taler-auditor-httpd_reserve-balance-insufficient-inconsistency-get.c
@@ -35,11 +35,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_reserve_balance_insufficient_inconsistency (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_ReserveBalanceInsufficientInconsistency
- *dc)
+process_reserve_balance_insufficient_inconsistency (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_ReserveBalanceInsufficientInconsistency
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -61,30 +62,22 @@ process_reserve_balance_insufficient_inconsistency (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_RESERVE_BALANCE_INSUFFICIENT_INCONSISTENCY_handler_get (struct
- TAH_RequestHandler *
- rh,
- struct
- MHD_Connection *
- connection,
- void **
- connection_cls,
- const char *
- upload_data,
- size_t *
- upload_data_size,
- const char *const
- args[])
+TAH_RESERVE_BALANCE_INSUFFICIENT_INCONSISTENCY_handler_get (
+ struct
+ TAH_RequestHandler *
+ rh,
+ struct
+ MHD_Connection *
+ connection,
+ void **
+ connection_cls,
+ const char *
+ upload_data,
+ size_t *
+ upload_data_size,
+ const char *const
+ args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c b/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c
index 29507ac39..b135999a3 100644
--- a/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c
+++ b/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c
@@ -35,11 +35,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_reserve_balance_summary_wrong_inconsistency (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_ReserveBalanceSummaryWrongInconsistency
- *dc)
+process_reserve_balance_summary_wrong_inconsistency (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_ReserveBalanceSummaryWrongInconsistency
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -63,30 +64,22 @@ process_reserve_balance_summary_wrong_inconsistency (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_RESERVE_BALANCE_SUMMARY_WRONG_INCONSISTENCY_handler_get (struct
- TAH_RequestHandler
- *rh,
- struct
- MHD_Connection *
- connection,
- void **
- connection_cls,
- const char *
- upload_data,
- size_t *
- upload_data_size,
- const char *const
- args[])
+TAH_RESERVE_BALANCE_SUMMARY_WRONG_INCONSISTENCY_handler_get (
+ struct
+ TAH_RequestHandler
+ *rh,
+ struct
+ MHD_Connection *
+ connection,
+ void **
+ connection_cls,
+ const char *
+ upload_data,
+ size_t *
+ upload_data_size,
+ const char *const
+ args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_reserve-in-inconsistency-get.c b/src/auditor/taler-auditor-httpd_reserve-in-inconsistency-get.c
index 8521e2b26..43e5b93f5 100644
--- a/src/auditor/taler-auditor-httpd_reserve-in-inconsistency-get.c
+++ b/src/auditor/taler-auditor-httpd_reserve-in-inconsistency-get.c
@@ -35,11 +35,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_reserve_in_inconsistency (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_ReserveInInconsistency
- *dc)
+process_reserve_in_inconsistency (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_ReserveInInconsistency
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -67,23 +68,15 @@ process_reserve_in_inconsistency (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_RESERVE_IN_INCONSISTENCY_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_RESERVE_IN_INCONSISTENCY_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_reserve-not-closed-inconsistency-get.c b/src/auditor/taler-auditor-httpd_reserve-not-closed-inconsistency-get.c
index 6d8d0d258..b33342f57 100644
--- a/src/auditor/taler-auditor-httpd_reserve-not-closed-inconsistency-get.c
+++ b/src/auditor/taler-auditor-httpd_reserve-not-closed-inconsistency-get.c
@@ -35,11 +35,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_reserve_not_closed_inconsistency (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_ReserveNotClosedInconsistency
- *dc)
+process_reserve_not_closed_inconsistency (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_ReserveNotClosedInconsistency
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -64,23 +65,15 @@ process_reserve_not_closed_inconsistency (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_RESERVE_NOT_CLOSED_INCONSISTENCY_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_RESERVE_NOT_CLOSED_INCONSISTENCY_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_reserves-get.c b/src/auditor/taler-auditor-httpd_reserves-get.c
index 4c2ac0567..b18034fdd 100644
--- a/src/auditor/taler-auditor-httpd_reserves-get.c
+++ b/src/auditor/taler-auditor-httpd_reserves-get.c
@@ -35,11 +35,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_reserves (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_Reserves
- *dc)
+process_reserves (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_Reserves
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -70,23 +71,15 @@ process_reserves (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_RESERVES_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_RESERVES_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_row-inconsistency-get.c b/src/auditor/taler-auditor-httpd_row-inconsistency-get.c
index bfd6f95fe..f05182478 100644
--- a/src/auditor/taler-auditor-httpd_row-inconsistency-get.c
+++ b/src/auditor/taler-auditor-httpd_row-inconsistency-get.c
@@ -36,9 +36,10 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-add_row_inconsistency (void *cls,
- uint64_t serial_id,
- const struct TALER_AUDITORDB_RowInconsistency *dc)
+add_row_inconsistency (
+ void *cls,
+ uint64_t serial_id,
+ const struct TALER_AUDITORDB_RowInconsistency *dc)
{
json_t *list = cls;
json_t *obj;
@@ -61,23 +62,15 @@ add_row_inconsistency (void *cls,
}
-/**
- *
- * @param rh context of the handler
- * @param connection the MHD connection to handle
- * @param[in,out] connection_cls the connection's closure (can be updated)
- * @param upload_data upload data
- * @param[in,out] upload_data_size number of bytes (left) in @a upload_data
- * @return MHD result code
- */
MHD_RESULT
-TAH_ROW_INCONSISTENCY_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_ROW_INCONSISTENCY_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
@@ -147,4 +140,4 @@ TAH_ROW_INCONSISTENCY_handler_get (struct TAH_RequestHandler *rh,
MHD_HTTP_OK,
GNUNET_JSON_pack_array_steal ("row_inconsistency",
ja));
-} \ No newline at end of file
+}
diff --git a/src/auditor/taler-auditor-httpd_row-minor-inconsistencies-get.c b/src/auditor/taler-auditor-httpd_row-minor-inconsistencies-get.c
index 9319735fd..469a6718c 100644
--- a/src/auditor/taler-auditor-httpd_row-minor-inconsistencies-get.c
+++ b/src/auditor/taler-auditor-httpd_row-minor-inconsistencies-get.c
@@ -35,11 +35,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_row_minor_inconsistencies (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_RowMinorInconsistencies
- *dc)
+process_row_minor_inconsistencies (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_RowMinorInconsistencies
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -62,23 +63,15 @@ process_row_minor_inconsistencies (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_ROW_MINOR_INCONSISTENCIES_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_ROW_MINOR_INCONSISTENCIES_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_wire-format-inconsistency-get.c b/src/auditor/taler-auditor-httpd_wire-format-inconsistency-get.c
index f6a4cdfae..d903cd379 100644
--- a/src/auditor/taler-auditor-httpd_wire-format-inconsistency-get.c
+++ b/src/auditor/taler-auditor-httpd_wire-format-inconsistency-get.c
@@ -35,11 +35,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_wire_format_inconsistency (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_WireFormatInconsistency
- *dc)
+process_wire_format_inconsistency (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_WireFormatInconsistency
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -63,23 +64,15 @@ process_wire_format_inconsistency (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_WIRE_FORMAT_INCONSISTENCY_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_WIRE_FORMAT_INCONSISTENCY_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-auditor-httpd_wire-out-inconsistency-get.c b/src/auditor/taler-auditor-httpd_wire-out-inconsistency-get.c
index 433ffe75e..f317cf37a 100644
--- a/src/auditor/taler-auditor-httpd_wire-out-inconsistency-get.c
+++ b/src/auditor/taler-auditor-httpd_wire-out-inconsistency-get.c
@@ -35,11 +35,12 @@
* @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop iterating
*/
static enum GNUNET_GenericReturnValue
-process_wire_out_inconsistency (void *cls,
- uint64_t serial_id,
- const struct
- TALER_AUDITORDB_WireOutInconsistency
- *dc)
+process_wire_out_inconsistency (
+ void *cls,
+ uint64_t serial_id,
+ const struct
+ TALER_AUDITORDB_WireOutInconsistency
+ *dc)
{
json_t *list = cls;
json_t *obj;
@@ -63,23 +64,15 @@ process_wire_out_inconsistency (void *cls,
}
-/**
-*
-* @param rh context of the handler
-* @param connection the MHD connection to handle
-* @param[in,out] connection_cls the connection's closure (can be updated)
-* @param upload_data upload data
-* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
-* @return MHD result code
-*/
MHD_RESULT
-TAH_WIRE_OUT_INCONSISTENCY_handler_get (struct TAH_RequestHandler *rh,
- struct MHD_Connection *
- connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[])
+TAH_WIRE_OUT_INCONSISTENCY_handler_get (
+ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *
+ connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[])
{
json_t *ja;
enum GNUNET_DB_QueryStatus qs;
diff --git a/src/auditor/taler-helper-auditor-aggregation.c b/src/auditor/taler-helper-auditor-aggregation.c
index 1e3cde999..316dc36cd 100644
--- a/src/auditor/taler-helper-auditor-aggregation.c
+++ b/src/auditor/taler-helper-auditor-aggregation.c
@@ -1159,7 +1159,8 @@ get_wire_fee (struct AggregationContext *ac,
GNUNET_JSON_pack_string ("diagnostic",
diagnosticb),
TALER_JSON_pack_time_abs_human ("time",
- wfi->start_date.abs_time)));
+ wfi->start_date.abs_time
+ )));
}
if ((NULL != wfi->next) &&
GNUNET_TIME_timestamp_cmp (wfi->next->start_date,
@@ -1188,7 +1189,8 @@ get_wire_fee (struct AggregationContext *ac,
GNUNET_JSON_pack_string ("diagnostic",
diagnostica),
TALER_JSON_pack_time_abs_human ("time",
- wfi->end_date.abs_time)));
+ wfi->end_date.abs_time))
+ );
}
return &wfi->fees.wire;
}
@@ -1441,12 +1443,14 @@ analyze_aggregations (void *cls)
}
if (GNUNET_NO == TALER_amount_is_valid (&TALER_ARL_USE_AB (
- aggregation_total_wire_fee_revenue)))
+ aggregation_total_wire_fee_revenue))
+ )
{
GNUNET_assert (GNUNET_OK ==
TALER_amount_set_zero (TALER_ARL_currency,
&TALER_ARL_USE_AB (
- aggregation_total_wire_fee_revenue)));
+ aggregation_total_wire_fee_revenue))
+ );
balance_exists = 0;
}
diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c
index 97ae0bb85..a4c937410 100644
--- a/src/auditor/taler-helper-auditor-coins.c
+++ b/src/auditor/taler-helper-auditor-coins.c
@@ -1761,7 +1761,8 @@ deposit_cb (void *cls,
TALER_JSON_pack_amount ("loss",
&deposit->amount_with_fee),
GNUNET_JSON_pack_data_auto ("coin_pub",
- &deposit->coin.coin_pub)));
+ &deposit->coin.coin_pub)))
+ ;
TALER_ARL_amount_add (&TALER_ARL_USE_AB (coin_irregular_loss),
&TALER_ARL_USE_AB (coin_irregular_loss),
&deposit->amount_with_fee);
diff --git a/src/auditor/taler-helper-auditor-deposits.c b/src/auditor/taler-helper-auditor-deposits.c
index e2e9112a1..2f65de698 100644
--- a/src/auditor/taler-helper-auditor-deposits.c
+++ b/src/auditor/taler-helper-auditor-deposits.c
@@ -475,7 +475,8 @@ run (void *cls,
TALER_ARL_done (
GNUNET_JSON_PACK (
GNUNET_JSON_pack_array_steal ("deposit_confirmation_inconsistencies",
- report_deposit_confirmation_inconsistencies),
+ report_deposit_confirmation_inconsistencies)
+ ,
GNUNET_JSON_pack_uint64 ("missing_deposit_confirmation_count",
number_missed_deposit_confirmations),
TALER_JSON_pack_amount ("missing_deposit_confirmation_total",
diff --git a/src/auditor/taler-helper-auditor-purses.c b/src/auditor/taler-helper-auditor-purses.c
index 0dc8833d5..e5d7f4dae 100644
--- a/src/auditor/taler-helper-auditor-purses.c
+++ b/src/auditor/taler-helper-auditor-purses.c
@@ -1101,7 +1101,8 @@ handle_purse_expired (
TALER_JSON_pack_amount ("balance",
balance),
TALER_JSON_pack_time_abs_human ("expired",
- expiration_date.abs_time)));
+ expiration_date.abs_time))
+ );
TALER_ARL_amount_add (&total_delayed_decisions,
&total_delayed_decisions,
balance);