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_service_lib.h | |
parent | 4f8ba34b32328bd99b2f0c2ff9a2372712022b32 (diff) | |
download | gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.tar.gz gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.zip |
const-ing of config-handles
Diffstat (limited to 'src/include/gnunet_service_lib.h')
-rw-r--r-- | src/include/gnunet_service_lib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/gnunet_service_lib.h b/src/include/gnunet_service_lib.h index dbfb2588b..4d0eefb98 100644 --- a/src/include/gnunet_service_lib.h +++ b/src/include/gnunet_service_lib.h | |||
@@ -50,7 +50,7 @@ extern "C" | |||
50 | typedef void (*GNUNET_SERVICE_Main) (void *cls, | 50 | typedef void (*GNUNET_SERVICE_Main) (void *cls, |
51 | struct GNUNET_SCHEDULER_Handle * sched, | 51 | struct GNUNET_SCHEDULER_Handle * sched, |
52 | struct GNUNET_SERVER_Handle * server, | 52 | struct GNUNET_SERVER_Handle * server, |
53 | struct GNUNET_CONFIGURATION_Handle * | 53 | const struct GNUNET_CONFIGURATION_Handle * |
54 | cfg); | 54 | cfg); |
55 | 55 | ||
56 | 56 | ||
@@ -62,7 +62,7 @@ typedef void (*GNUNET_SERVICE_Main) (void *cls, | |||
62 | * @param cfg configuration to use | 62 | * @param cfg configuration to use |
63 | */ | 63 | */ |
64 | typedef void (*GNUNET_SERVICE_Term) (void *cls, | 64 | typedef void (*GNUNET_SERVICE_Term) (void *cls, |
65 | struct GNUNET_CONFIGURATION_Handle * | 65 | const struct GNUNET_CONFIGURATION_Handle * |
66 | cfg); | 66 | cfg); |
67 | 67 | ||
68 | 68 | ||
@@ -103,7 +103,7 @@ struct GNUNET_SERVICE_Context *GNUNET_SERVICE_start (const char *serviceName, | |||
103 | struct | 103 | struct |
104 | GNUNET_SCHEDULER_Handle | 104 | GNUNET_SCHEDULER_Handle |
105 | *sched, | 105 | *sched, |
106 | struct | 106 | const struct |
107 | GNUNET_CONFIGURATION_Handle | 107 | GNUNET_CONFIGURATION_Handle |
108 | *cfg); | 108 | *cfg); |
109 | 109 | ||