commit ae5cf4315d71e0fe8f636af7daabadb1f3acb190
parent 77aa3b1de283f86529185720ea970e144aec27bc
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Sun, 16 Aug 2026 08:33:56 +0200
-dox
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/include/taler/taler_mhd_lib.h b/src/include/taler/taler_mhd_lib.h
@@ -575,7 +575,9 @@ TALER_MHD_parse_request_arg_timeout (struct MHD_Connection *connection,
*
* @param connection the MHD connection
* @param fname name of the argument to parse
- * @param[out] ts set to #GNUNET_TIME_UNIT_ZERO_TS if there was no timestamp
+ * @param[in,out] ts set to the timestamp given in the request;
+ * left unchanged if the argument was not present, so the
+ * caller must initialize @a ts to the desired default
* @return #GNUNET_OK on success, #GNUNET_NO if an
* error was returned on @a connection (caller should return #MHD_YES) and
* #GNUNET_SYSERR if we failed to return an error (caller should return #MHD_NO)
@@ -593,7 +595,9 @@ TALER_MHD_parse_request_arg_timestamp (struct MHD_Connection *connection,
*
* @param connection the MHD connection
* @param fname name of the argument
- * @param[out] ts set to #GNUNET_TIME_UNIT_ZERO_TS if there was no timestamp
+ * @param[in,out] ts set to the timestamp given in the request;
+ * left unchanged if the argument was not present, so the
+ * caller must initialize @a ts to the desired default
*/
#define TALER_MHD_parse_request_timestamp(connection,fname,ts) \
do { \