summaryrefslogtreecommitdiff
path: root/src/psycstore/psycstore.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/psycstore/psycstore.h
parent25e99b83403ec04e691ed5543765e267705c125d (diff)
downloadgnunet-1d76e223b23cfcc6c0b102be41cc81a5672a05ac.tar.gz
gnunet-1d76e223b23cfcc6c0b102be41cc81a5672a05ac.zip
PSYCstore: result_code arg for CountersCallback
Diffstat (limited to 'src/psycstore/psycstore.h')
-rw-r--r--src/psycstore/psycstore.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/psycstore/psycstore.h b/src/psycstore/psycstore.h
index f28d1ba78..16d898a45 100644
--- a/src/psycstore/psycstore.h
+++ b/src/psycstore/psycstore.h
@@ -74,11 +74,6 @@ struct CountersResult
74 */ 74 */
75 uint32_t op_id GNUNET_PACKED; 75 uint32_t op_id GNUNET_PACKED;
76 76
77 /**
78 * Status code for the operation.
79 */
80 int64_t result_code GNUNET_PACKED;
81
82 uint64_t max_fragment_id GNUNET_PACKED; 77 uint64_t max_fragment_id GNUNET_PACKED;
83 78
84 uint64_t max_message_id GNUNET_PACKED; 79 uint64_t max_message_id GNUNET_PACKED;
@@ -86,6 +81,14 @@ struct CountersResult
86 uint64_t max_group_generation GNUNET_PACKED; 81 uint64_t max_group_generation GNUNET_PACKED;
87 82
88 uint64_t max_state_message_id GNUNET_PACKED; 83 uint64_t max_state_message_id GNUNET_PACKED;
84
85 /**
86 * Status code for the operation:
87 * #GNUNET_OK: success, counter values are returned.
88 * #GNUNET_NO: no message has been sent to the channel yet.
89 * #GNUNET_SYSERR: an error occurred.
90 */
91 int32_t result_code GNUNET_PACKED;
89}; 92};
90 93
91 94