aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/perf_plugin_datastore.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-18 13:33:10 +0000
committerChristian Grothoff <christian@grothoff.org>2015-07-18 13:33:10 +0000
commit957ba741a643ac853f7cd6c00f05f41cf57d8d59 (patch)
tree98acdb5bcf1e0cf959100e7e0416a14ccd270550 /src/datastore/perf_plugin_datastore.c
parentd38544730123a1f365ef287a7e88060d97b266b7 (diff)
downloadgnunet-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.c19
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
101static void 101static void
102test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc); 102test (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 */
105static void 115static void
106put_continuation (void *cls, const struct GNUNET_HashCode *key, 116put_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