diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-07-18 13:33:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-07-18 13:33:10 +0000 |
commit | 957ba741a643ac853f7cd6c00f05f41cf57d8d59 (patch) | |
tree | 98acdb5bcf1e0cf959100e7e0416a14ccd270550 /src/datastore/perf_plugin_datastore.c | |
parent | d38544730123a1f365ef287a7e88060d97b266b7 (diff) | |
download | gnunet-957ba741a643ac853f7cd6c00f05f41cf57d8d59.tar.gz gnunet-957ba741a643ac853f7cd6c00f05f41cf57d8d59.zip |
-adding missing 'const' decls, fixing indentation / doxygen a bit
Diffstat (limited to 'src/datastore/perf_plugin_datastore.c')
-rw-r--r-- | src/datastore/perf_plugin_datastore.c | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/datastore/perf_plugin_datastore.c b/src/datastore/perf_plugin_datastore.c index d31d5facf..a91ec19ed 100644 --- a/src/datastore/perf_plugin_datastore.c +++ b/src/datastore/perf_plugin_datastore.c | |||
@@ -99,12 +99,25 @@ disk_utilization_change_cb (void *cls, int delta) | |||
99 | 99 | ||
100 | 100 | ||
101 | static void | 101 | static void |
102 | test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); | 102 | test (void *cls, |
103 | const struct GNUNET_SCHEDULER_TaskContext *tc); | ||
103 | 104 | ||
104 | 105 | ||
106 | /** | ||
107 | * Put continuation. | ||
108 | * | ||
109 | * @param cls closure | ||
110 | * @param key key for the item stored | ||
111 | * @param size size of the item stored | ||
112 | * @param status #GNUNET_OK or #GNUNET_SYSERROR | ||
113 | * @param msg error message on error | ||
114 | */ | ||
105 | static void | 115 | static void |
106 | put_continuation (void *cls, const struct GNUNET_HashCode *key, | 116 | put_continuation (void *cls, |
107 | uint32_t size, int status, char *msg) | 117 | const struct GNUNET_HashCode *key, |
118 | uint32_t size, | ||
119 | int status, | ||
120 | const char *msg) | ||
108 | { | 121 | { |
109 | struct CpsRunContext *crc = cls; | 122 | struct CpsRunContext *crc = cls; |
110 | 123 | ||