aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_psycstore_service.h
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2013-10-10 18:08:47 +0000
committerGabor X Toth <*@tg-x.net>2013-10-10 18:08:47 +0000
commit1d76e223b23cfcc6c0b102be41cc81a5672a05ac (patch)
treed74a08615d750ee9b696f9c8accae97057620944 /src/include/gnunet_psycstore_service.h
parent25e99b83403ec04e691ed5543765e267705c125d (diff)
downloadgnunet-1d76e223b23cfcc6c0b102be41cc81a5672a05ac.tar.gz
gnunet-1d76e223b23cfcc6c0b102be41cc81a5672a05ac.zip
PSYCstore: result_code arg for CountersCallback
Diffstat (limited to 'src/include/gnunet_psycstore_service.h')
-rw-r--r--src/include/gnunet_psycstore_service.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/gnunet_psycstore_service.h b/src/include/gnunet_psycstore_service.h
index 5f4a32b7b..40d553b98 100644
--- a/src/include/gnunet_psycstore_service.h
+++ b/src/include/gnunet_psycstore_service.h
@@ -285,6 +285,10 @@ GNUNET_PSYCSTORE_message_get_fragment (struct GNUNET_PSYCSTORE_Handle *h,
285 * @see GNUNET_PSYCSTORE_counters_get() 285 * @see GNUNET_PSYCSTORE_counters_get()
286 * 286 *
287 * @param cls Closure. 287 * @param cls Closure.
288 * @param result_code Status code for the operation:
289 * #GNUNET_OK: success, counter values are returned.
290 * #GNUNET_NO: no message has been sent to the channel yet.
291 * #GNUNET_SYSERR: an error occurred.
288 * @param max_fragment_id Latest message fragment ID, used by multicast. 292 * @param max_fragment_id Latest message fragment ID, used by multicast.
289 * @param max_message_id Latest message ID, used by PSYC. 293 * @param max_message_id Latest message ID, used by PSYC.
290 * @param max_group_generation Latest group generation, used by PSYC. 294 * @param max_group_generation Latest group generation, used by PSYC.
@@ -293,6 +297,7 @@ GNUNET_PSYCSTORE_message_get_fragment (struct GNUNET_PSYCSTORE_Handle *h,
293 */ 297 */
294typedef void 298typedef void
295(*GNUNET_PSYCSTORE_CountersCallback) (void *cls, 299(*GNUNET_PSYCSTORE_CountersCallback) (void *cls,
300 int result_code,
296 uint64_t max_fragment_id, 301 uint64_t max_fragment_id,
297 uint64_t max_message_id, 302 uint64_t max_message_id,
298 uint64_t max_group_generation, 303 uint64_t max_group_generation,