diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_getopt_lib.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/gnunet_getopt_lib.h b/src/include/gnunet_getopt_lib.h index 0d6ed4fc7..b37827ccc 100644 --- a/src/include/gnunet_getopt_lib.h +++ b/src/include/gnunet_getopt_lib.h | |||
@@ -164,6 +164,20 @@ GNUNET_GETOPT_option_help (const char *about); | |||
164 | 164 | ||
165 | 165 | ||
166 | /** | 166 | /** |
167 | * Allow user to specify a `long long` with an offset to add to the current | ||
168 | * system time to construct the time seen by the application. Used for | ||
169 | * debugging / testing. | ||
170 | * | ||
171 | * @param shortName short name of the option | ||
172 | * @param name long name of the option | ||
173 | * @param[out] val set to the time specified at the command line | ||
174 | */ | ||
175 | struct GNUNET_GETOPT_CommandLineOption | ||
176 | GNUNET_GETOPT_option_timetravel (char shortName, | ||
177 | const char *name); | ||
178 | |||
179 | |||
180 | /** | ||
167 | * Define the option to print the version of | 181 | * Define the option to print the version of |
168 | * the application (-v option) | 182 | * the application (-v option) |
169 | * | 183 | * |