aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_getopt_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_getopt_lib.h')
-rw-r--r--src/include/gnunet_getopt_lib.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/gnunet_getopt_lib.h b/src/include/gnunet_getopt_lib.h
index e38925f14..88c7825d0 100644
--- a/src/include/gnunet_getopt_lib.h
+++ b/src/include/gnunet_getopt_lib.h
@@ -287,6 +287,23 @@ GNUNET_GETOPT_option_uint (char shortName,
287 287
288 288
289/** 289/**
290 * Allow user to specify an uint16_t.
291 *
292 * @param shortName short name of the option
293 * @param name long name of the option
294 * @param argumentHelp help text for the option argument
295 * @param description long help text for the option
296 * @param[out] val set to the value specified at the command line
297 */
298struct GNUNET_GETOPT_CommandLineOption
299GNUNET_GETOPT_option_uint16 (char shortName,
300 const char *name,
301 const char *argumentHelp,
302 const char *description,
303 uint16_t *val);
304
305
306/**
290 * Allow user to specify an `unsigned long long`. 307 * Allow user to specify an `unsigned long long`.
291 * 308 *
292 * @param shortName short name of the option 309 * @param shortName short name of the option