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/datastore/perf_plugin_datastore.c | |
parent | 4f8ba34b32328bd99b2f0c2ff9a2372712022b32 (diff) | |
download | gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.tar.gz gnunet-7bc466bbdb8b64cac68c5ee59eb7ab6b9d85c420.zip |
const-ing of config-handles
Diffstat (limited to 'src/datastore/perf_plugin_datastore.c')
-rw-r--r-- | src/datastore/perf_plugin_datastore.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/datastore/perf_plugin_datastore.c b/src/datastore/perf_plugin_datastore.c index dae8e7432..26299830a 100644 --- a/src/datastore/perf_plugin_datastore.c +++ b/src/datastore/perf_plugin_datastore.c | |||
@@ -71,7 +71,7 @@ struct CpsRunContext | |||
71 | struct GNUNET_TIME_Absolute start; | 71 | struct GNUNET_TIME_Absolute start; |
72 | struct GNUNET_TIME_Absolute end; | 72 | struct GNUNET_TIME_Absolute end; |
73 | struct GNUNET_SCHEDULER_Handle *sched; | 73 | struct GNUNET_SCHEDULER_Handle *sched; |
74 | struct GNUNET_CONFIGURATION_Handle *cfg; | 74 | const struct GNUNET_CONFIGURATION_Handle *cfg; |
75 | struct GNUNET_DATASTORE_PluginFunctions * api; | 75 | struct GNUNET_DATASTORE_PluginFunctions * api; |
76 | const char *msg; | 76 | const char *msg; |
77 | enum RunPhase phase; | 77 | enum RunPhase phase; |
@@ -195,7 +195,7 @@ iterateDummy (void *cls, | |||
195 | */ | 195 | */ |
196 | static void | 196 | static void |
197 | unload_plugin (struct GNUNET_DATASTORE_PluginFunctions * api, | 197 | unload_plugin (struct GNUNET_DATASTORE_PluginFunctions * api, |
198 | struct GNUNET_CONFIGURATION_Handle *cfg) | 198 | const struct GNUNET_CONFIGURATION_Handle *cfg) |
199 | { | 199 | { |
200 | char *name; | 200 | char *name; |
201 | char *libname; | 201 | char *libname; |
@@ -315,7 +315,7 @@ test (void *cls, | |||
315 | * Load the datastore plugin. | 315 | * Load the datastore plugin. |
316 | */ | 316 | */ |
317 | static struct GNUNET_DATASTORE_PluginFunctions * | 317 | static struct GNUNET_DATASTORE_PluginFunctions * |
318 | load_plugin (struct GNUNET_CONFIGURATION_Handle *cfg, | 318 | load_plugin (const struct GNUNET_CONFIGURATION_Handle *cfg, |
319 | struct GNUNET_SCHEDULER_Handle *sched) | 319 | struct GNUNET_SCHEDULER_Handle *sched) |
320 | { | 320 | { |
321 | static struct GNUNET_DATASTORE_PluginEnvironment env; | 321 | static struct GNUNET_DATASTORE_PluginEnvironment env; |
@@ -350,7 +350,7 @@ run (void *cls, | |||
350 | struct GNUNET_SCHEDULER_Handle *s, | 350 | struct GNUNET_SCHEDULER_Handle *s, |
351 | char *const *args, | 351 | char *const *args, |
352 | const char *cfgfile, | 352 | const char *cfgfile, |
353 | struct GNUNET_CONFIGURATION_Handle *c) | 353 | const struct GNUNET_CONFIGURATION_Handle *c) |
354 | { | 354 | { |
355 | struct GNUNET_DATASTORE_PluginFunctions *api; | 355 | struct GNUNET_DATASTORE_PluginFunctions *api; |
356 | struct CpsRunContext *crc; | 356 | struct CpsRunContext *crc; |