diff options
Diffstat (limited to 'src/include/gnunet_getopt_lib.h')
-rw-r--r-- | src/include/gnunet_getopt_lib.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/include/gnunet_getopt_lib.h b/src/include/gnunet_getopt_lib.h index 259d648dd..390e8c153 100644 --- a/src/include/gnunet_getopt_lib.h +++ b/src/include/gnunet_getopt_lib.h | |||
@@ -19,6 +19,10 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @addtogroup libgnunetutil | ||
23 | * Multi-function utilities library for GNUnet programs | ||
24 | * @{ | ||
25 | * | ||
22 | * @author Christian Grothoff | 26 | * @author Christian Grothoff |
23 | * | 27 | * |
24 | * @file | 28 | * @file |
@@ -29,6 +33,10 @@ | |||
29 | * @{ | 33 | * @{ |
30 | */ | 34 | */ |
31 | 35 | ||
36 | #if !defined (__GNUNET_UTIL_LIB_H_INSIDE__) | ||
37 | #error "Only <gnunet_util_lib.h> can be included directly." | ||
38 | #endif | ||
39 | |||
32 | #ifndef GNUNET_GETOPT_LIB_H | 40 | #ifndef GNUNET_GETOPT_LIB_H |
33 | #define GNUNET_GETOPT_LIB_H | 41 | #define GNUNET_GETOPT_LIB_H |
34 | 42 | ||
@@ -39,6 +47,7 @@ extern "C" { | |||
39 | #endif | 47 | #endif |
40 | #endif | 48 | #endif |
41 | 49 | ||
50 | |||
42 | #include "gnunet_configuration_lib.h" | 51 | #include "gnunet_configuration_lib.h" |
43 | 52 | ||
44 | /** | 53 | /** |
@@ -400,7 +409,6 @@ GNUNET_GETOPT_option_timestamp (char shortName, | |||
400 | * | 409 | * |
401 | * @param shortName short name of the option | 410 | * @param shortName short name of the option |
402 | * @param name long name of the option | 411 | * @param name long name of the option |
403 | * @param argumentHelp help text for the option argument | ||
404 | * @param description long help text for the option | 412 | * @param description long help text for the option |
405 | * @param[out] val set to 1 if the option is present | 413 | * @param[out] val set to 1 if the option is present |
406 | */ | 414 | */ |
@@ -507,4 +515,6 @@ GNUNET_GETOPT_run (const char *binaryOptions, | |||
507 | 515 | ||
508 | /** @} */ /* end of group getopt */ | 516 | /** @} */ /* end of group getopt */ |
509 | 517 | ||
518 | /** @} */ /* end of group addition */ | ||
519 | |||
510 | /* end of gnunet_getopt_lib.h */ | 520 | /* end of gnunet_getopt_lib.h */ |