aboutsummaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor-httpd_refreshes-hanging-get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/auditor/taler-auditor-httpd_refreshes-hanging-get.c')
-rw-r--r--src/auditor/taler-auditor-httpd_refreshes-hanging-get.c46
1 files changed, 18 insertions, 28 deletions
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;