aboutsummaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor-httpd.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-07-17 23:41:13 +0200
committerChristian Grothoff <christian@grothoff.org>2024-07-29 12:18:46 +0200
commit4716fe3926d3ac32a6d304b992d092075dc1af7b (patch)
tree9fdc0679210ae9ab59f943e5633529345ab11f10 /src/auditor/taler-auditor-httpd.h
parent9f1f96bd724224dee565551ca2efd9e60bd6f8ec (diff)
-fix auditor insanity
Diffstat (limited to 'src/auditor/taler-auditor-httpd.h')
-rw-r--r--src/auditor/taler-auditor-httpd.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/auditor/taler-auditor-httpd.h b/src/auditor/taler-auditor-httpd.h
index 5edf25513..9da0601ba 100644
--- a/src/auditor/taler-auditor-httpd.h
+++ b/src/auditor/taler-auditor-httpd.h
@@ -91,19 +91,23 @@ struct TAH_RequestHandler
* @param[in,out] upload_data_size number of bytes (left) in @a upload_data
* @return MHD result code
*/
- MHD_RESULT (*handler)(struct TAH_RequestHandler *rh,
- struct MHD_Connection *connection,
- void **connection_cls,
- const char *upload_data,
- size_t *upload_data_size,
- const char *const args[]);
+ MHD_RESULT (*handler)(
+ /* const */ struct TAH_RequestHandler *rh,
+ struct MHD_Connection *connection,
+ void **connection_cls,
+ const char *upload_data,
+ size_t *upload_data_size,
+ const char *const args[]);
/**
* Default response code.
*/
unsigned int response_code;
- bool requiresAuth;
+ /**
+ * Is client authentication required for this endpoint?
+ */
+ bool requires_auth;
};