diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-07 20:54:53 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-07 20:54:53 +0000 |
commit | ed28dd2141e77aa073d81089cb5a07e0a0fc013c (patch) | |
tree | 51caa9ce91662983b6f44fdd3f0a0045a1bf2b32 /src/include/gnunet_os_lib.h | |
parent | 69667eaa594670ae1bb209fda2761798426ec7b1 (diff) | |
download | gnunet-ed28dd2141e77aa073d81089cb5a07e0a0fc013c.tar.gz gnunet-ed28dd2141e77aa073d81089cb5a07e0a0fc013c.zip |
expand GNUNET_OS_ProjectData API to also enable de-duplcation of logic for --help
Diffstat (limited to 'src/include/gnunet_os_lib.h')
-rw-r--r-- | src/include/gnunet_os_lib.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/gnunet_os_lib.h b/src/include/gnunet_os_lib.h index 8cd4a4578..3fa2497d6 100644 --- a/src/include/gnunet_os_lib.h +++ b/src/include/gnunet_os_lib.h | |||
@@ -240,6 +240,16 @@ struct GNUNET_OS_ProjectData | |||
240 | */ | 240 | */ |
241 | const char *env_varname_alt; | 241 | const char *env_varname_alt; |
242 | 242 | ||
243 | /** | ||
244 | * E-mail address for reporting bugs. | ||
245 | */ | ||
246 | const char *bug_email; | ||
247 | |||
248 | /** | ||
249 | * Project homepage. | ||
250 | */ | ||
251 | const char *homepage; | ||
252 | |||
243 | }; | 253 | }; |
244 | 254 | ||
245 | 255 | ||
@@ -251,6 +261,13 @@ GNUNET_OS_project_data_default (void); | |||
251 | 261 | ||
252 | 262 | ||
253 | /** | 263 | /** |
264 | * @return current (actual) project data. | ||
265 | */ | ||
266 | const struct GNUNET_OS_ProjectData * | ||
267 | GNUNET_OS_project_data_get (void); | ||
268 | |||
269 | |||
270 | /** | ||
254 | * Setup OS subsystem with project data. | 271 | * Setup OS subsystem with project data. |
255 | * | 272 | * |
256 | * @param pd project data used to determine paths. | 273 | * @param pd project data used to determine paths. |