From 957ba741a643ac853f7cd6c00f05f41cf57d8d59 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 18 Jul 2015 13:33:10 +0000 Subject: -adding missing 'const' decls, fixing indentation / doxygen a bit --- src/datastore/perf_plugin_datastore.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'src/datastore/perf_plugin_datastore.c') 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) 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; -- cgit v1.2.3