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)
-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 d31d5facf4..a91ec19edd 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)
static void
-test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc);
+test (void *cls,
+ const struct GNUNET_SCHEDULER_TaskContext *tc);
+/**
+ * Put continuation.
+ *
+ * @param cls closure
+ * @param key key for the item stored
+ * @param size size of the item stored
+ * @param status #GNUNET_OK or #GNUNET_SYSERROR
+ * @param msg error message on error
+ */
static void
-put_continuation (void *cls, const struct GNUNET_HashCode *key,
- uint32_t size, int status, char *msg)
+put_continuation (void *cls,
+ const struct GNUNET_HashCode *key,
+ uint32_t size,
+ int status,
+ const char *msg)
{
struct CpsRunContext *crc = cls;