diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-07-26 21:20:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-07-26 21:20:11 +0000 |
commit | 7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420 (patch) | |
tree | dc415457e57f9cfda58eb22ca400a941ebcf602e /src/include/gnunet_getopt_lib.h | |
parent | 4f8ba34b32328bd99b2f0c2ff9a2372712022b32 (diff) | |
download | gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.tar.gz gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.zip |
const-ing of config-handles
Diffstat (limited to 'src/include/gnunet_getopt_lib.h')
-rw-r--r-- | src/include/gnunet_getopt_lib.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/include/gnunet_getopt_lib.h b/src/include/gnunet_getopt_lib.h index 722155568..e7063d3d0 100644 --- a/src/include/gnunet_getopt_lib.h +++ b/src/include/gnunet_getopt_lib.h | |||
@@ -60,11 +60,6 @@ struct GNUNET_GETOPT_CommandLineProcessorContext | |||
60 | const struct GNUNET_GETOPT_CommandLineOption *allOptions; | 60 | const struct GNUNET_GETOPT_CommandLineOption *allOptions; |
61 | 61 | ||
62 | /** | 62 | /** |
63 | * For configuration | ||
64 | */ | ||
65 | struct GNUNET_CONFIGURATION_Handle *cfg; | ||
66 | |||
67 | /** | ||
68 | * Original command line | 63 | * Original command line |
69 | */ | 64 | */ |
70 | char *const *argv; | 65 | char *const *argv; |
@@ -192,7 +187,6 @@ struct GNUNET_GETOPT_CommandLineOption | |||
192 | * Parse the command line. | 187 | * Parse the command line. |
193 | * | 188 | * |
194 | * @param binaryName name of the binary / application with options | 189 | * @param binaryName name of the binary / application with options |
195 | * @param cfg for storing/accessing configuration data | ||
196 | * @param allOptions defined options and handlers | 190 | * @param allOptions defined options and handlers |
197 | * @param argc number of arguments | 191 | * @param argc number of arguments |
198 | * @param argv actual arguments | 192 | * @param argv actual arguments |
@@ -200,7 +194,6 @@ struct GNUNET_GETOPT_CommandLineOption | |||
200 | * argument, or GNUNET_SYSERR on error | 194 | * argument, or GNUNET_SYSERR on error |
201 | */ | 195 | */ |
202 | int GNUNET_GETOPT_run (const char *binaryName, | 196 | int GNUNET_GETOPT_run (const char *binaryName, |
203 | struct GNUNET_CONFIGURATION_Handle *cfg, | ||
204 | const struct GNUNET_GETOPT_CommandLineOption | 197 | const struct GNUNET_GETOPT_CommandLineOption |
205 | *allOptions, unsigned int argc, char *const *argv); | 198 | *allOptions, unsigned int argc, char *const *argv); |
206 | 199 | ||