aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_psycstore_plugin.h
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2013-09-25 17:46:03 +0000
committerGabor X Toth <*@tg-x.net>2013-09-25 17:46:03 +0000
commit303d6a97bc552a337c992944c3151ea53c1f74dc (patch)
tree295d478fd8e82879830588da0c47778512ffad9b /src/include/gnunet_psycstore_plugin.h
parentffc11bb1c2c09cda9e7bed84e56cedb8ed49d46c (diff)
downloadgnunet-303d6a97bc552a337c992944c3151ea53c1f74dc.tar.gz
gnunet-303d6a97bc552a337c992944c3151ea53c1f74dc.zip
psycstore: single counters function for master & slave
Diffstat (limited to 'src/include/gnunet_psycstore_plugin.h')
-rw-r--r--src/include/gnunet_psycstore_plugin.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/include/gnunet_psycstore_plugin.h b/src/include/gnunet_psycstore_plugin.h
index 8ceb3e5e5..9f47a1a2f 100644
--- a/src/include/gnunet_psycstore_plugin.h
+++ b/src/include/gnunet_psycstore_plugin.h
@@ -158,30 +158,30 @@ struct GNUNET_PSYCSTORE_PluginFunctions
158 void *cb_cls); 158 void *cb_cls);
159 159
160 /** 160 /**
161 * Retrieve latest values of counters for a channel master. 161 * Retrieve the max. values of message counters for a channel.
162 * 162 *
163 * @see GNUNET_PSYCSTORE_counters_get_master() 163 * @see GNUNET_PSYCSTORE_counters_get()
164 * 164 *
165 * @return #GNUNET_OK on success, else #GNUNET_SYSERR 165 * @return #GNUNET_OK on success, else #GNUNET_SYSERR
166 */ 166 */
167 int 167 int
168 (*counters_get_master) (void *cls, 168 (*counters_message_get) (void *cls,
169 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 169 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key,
170 uint64_t *fragment_id, 170 uint64_t *max_fragment_id,
171 uint64_t *message_id, 171 uint64_t *max_message_id,
172 uint64_t *group_generation); 172 uint64_t *max_group_generation);
173 173
174 /** 174 /**
175 * Retrieve latest values of counters for a channel slave. 175 * Retrieve the max. values of state counters for a channel.
176 * 176 *
177 * @see GNUNET_PSYCSTORE_counters_get_slave() 177 * @see GNUNET_PSYCSTORE_counters_get()
178 * 178 *
179 * @return #GNUNET_OK on success, else #GNUNET_SYSERR 179 * @return #GNUNET_OK on success, else #GNUNET_SYSERR
180 */ 180 */
181 int 181 int
182 (*counters_get_slave) (void *cls, 182 (*counters_state_get) (void *cls,
183 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, 183 const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key,
184 uint64_t *max_state_msg_id); 184 uint64_t *max_state_message_id);
185 185
186 186
187 /** 187 /**