aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_getopt_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-15 10:26:37 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-15 11:14:59 +0100
commit85b043ef34186a24d960cb32417da2a610eae526 (patch)
tree1bafe274ff94b2dfc38d0fc11c42120862075221 /src/include/gnunet_getopt_lib.h
parent164eed8f5171824cf27b318afeab12f8c6ba9262 (diff)
downloadgnunet-85b043ef34186a24d960cb32417da2a610eae526.tar.gz
gnunet-85b043ef34186a24d960cb32417da2a610eae526.zip
add GNUNET_GETOPT_OPTION_SET_ABSOLUTE_TIME
Diffstat (limited to 'src/include/gnunet_getopt_lib.h')
-rw-r--r--src/include/gnunet_getopt_lib.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/gnunet_getopt_lib.h b/src/include/gnunet_getopt_lib.h
index 0acf15679..bc2e079da 100644
--- a/src/include/gnunet_getopt_lib.h
+++ b/src/include/gnunet_getopt_lib.h
@@ -317,6 +317,24 @@ GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME (char shortName,
317 317
318 318
319/** 319/**
320 * Allow user to specify a `struct GNUNET_TIME_Absolute`
321 * (using human-readable "fancy" time).
322 *
323 * @param shortName short name of the option
324 * @param name long name of the option
325 * @param argumentHelp help text for the option argument
326 * @param description long help text for the option
327 * @param[out] val set to the time specified at the command line
328 */
329struct GNUNET_GETOPT_CommandLineOption
330GNUNET_GETOPT_OPTION_SET_ABSOLUTE_TIME (char shortName,
331 const char *name,
332 const char *argumentHelp,
333 const char *description,
334 struct GNUNET_TIME_Absolute *val);
335
336
337/**
320 * Increment @a val each time the option flag is given by one. 338 * Increment @a val each time the option flag is given by one.
321 * 339 *
322 * @param shortName short name of the option 340 * @param shortName short name of the option