diff options
Diffstat (limited to 'src/include/gnunet_psycstore_plugin.h')
-rw-r--r-- | src/include/gnunet_psycstore_plugin.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/include/gnunet_psycstore_plugin.h b/src/include/gnunet_psycstore_plugin.h index 8f8668043..7564ed4bd 100644 --- a/src/include/gnunet_psycstore_plugin.h +++ b/src/include/gnunet_psycstore_plugin.h | |||
@@ -59,8 +59,8 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
59 | */ | 59 | */ |
60 | int | 60 | int |
61 | (*membership_store) (void *cls, | 61 | (*membership_store) (void *cls, |
62 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 62 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
63 | const struct GNUNET_CRYPTO_EccPublicSignKey *slave_key, | 63 | const struct GNUNET_CRYPTO_EddsaPublicKey *slave_key, |
64 | int did_join, | 64 | int did_join, |
65 | uint64_t announced_at, | 65 | uint64_t announced_at, |
66 | uint64_t effective_since, | 66 | uint64_t effective_since, |
@@ -76,8 +76,8 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
76 | */ | 76 | */ |
77 | int | 77 | int |
78 | (*membership_test) (void *cls, | 78 | (*membership_test) (void *cls, |
79 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 79 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
80 | const struct GNUNET_CRYPTO_EccPublicSignKey *slave_key, | 80 | const struct GNUNET_CRYPTO_EddsaPublicKey *slave_key, |
81 | uint64_t message_id); | 81 | uint64_t message_id); |
82 | 82 | ||
83 | /** | 83 | /** |
@@ -89,7 +89,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
89 | */ | 89 | */ |
90 | int | 90 | int |
91 | (*fragment_store) (void *cls, | 91 | (*fragment_store) (void *cls, |
92 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 92 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
93 | const struct GNUNET_MULTICAST_MessageHeader *message, | 93 | const struct GNUNET_MULTICAST_MessageHeader *message, |
94 | uint32_t psycstore_flags); | 94 | uint32_t psycstore_flags); |
95 | 95 | ||
@@ -107,7 +107,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
107 | */ | 107 | */ |
108 | int | 108 | int |
109 | (*message_add_flags) (void *cls, | 109 | (*message_add_flags) (void *cls, |
110 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 110 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
111 | uint64_t message_id, | 111 | uint64_t message_id, |
112 | uint64_t psycstore_flags); | 112 | uint64_t psycstore_flags); |
113 | 113 | ||
@@ -120,7 +120,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
120 | */ | 120 | */ |
121 | int | 121 | int |
122 | (*fragment_get) (void *cls, | 122 | (*fragment_get) (void *cls, |
123 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 123 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
124 | uint64_t fragment_id, | 124 | uint64_t fragment_id, |
125 | GNUNET_PSYCSTORE_FragmentCallback cb, | 125 | GNUNET_PSYCSTORE_FragmentCallback cb, |
126 | void *cb_cls); | 126 | void *cb_cls); |
@@ -134,7 +134,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
134 | */ | 134 | */ |
135 | int | 135 | int |
136 | (*message_get) (void *cls, | 136 | (*message_get) (void *cls, |
137 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 137 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
138 | uint64_t message_id, | 138 | uint64_t message_id, |
139 | uint64_t *returned_fragments, | 139 | uint64_t *returned_fragments, |
140 | GNUNET_PSYCSTORE_FragmentCallback cb, | 140 | GNUNET_PSYCSTORE_FragmentCallback cb, |
@@ -150,7 +150,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
150 | */ | 150 | */ |
151 | int | 151 | int |
152 | (*message_get_fragment) (void *cls, | 152 | (*message_get_fragment) (void *cls, |
153 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 153 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
154 | uint64_t message_id, | 154 | uint64_t message_id, |
155 | uint64_t fragment_offset, | 155 | uint64_t fragment_offset, |
156 | GNUNET_PSYCSTORE_FragmentCallback cb, | 156 | GNUNET_PSYCSTORE_FragmentCallback cb, |
@@ -165,7 +165,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
165 | */ | 165 | */ |
166 | int | 166 | int |
167 | (*counters_message_get) (void *cls, | 167 | (*counters_message_get) (void *cls, |
168 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 168 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
169 | uint64_t *max_fragment_id, | 169 | uint64_t *max_fragment_id, |
170 | uint64_t *max_message_id, | 170 | uint64_t *max_message_id, |
171 | uint64_t *max_group_generation); | 171 | uint64_t *max_group_generation); |
@@ -179,7 +179,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
179 | */ | 179 | */ |
180 | int | 180 | int |
181 | (*counters_state_get) (void *cls, | 181 | (*counters_state_get) (void *cls, |
182 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 182 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
183 | uint64_t *max_state_message_id); | 183 | uint64_t *max_state_message_id); |
184 | 184 | ||
185 | 185 | ||
@@ -192,7 +192,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
192 | */ | 192 | */ |
193 | int | 193 | int |
194 | (*state_modify_begin) (void *cls, | 194 | (*state_modify_begin) (void *cls, |
195 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 195 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
196 | uint64_t message_id, uint64_t state_delta); | 196 | uint64_t message_id, uint64_t state_delta); |
197 | 197 | ||
198 | /** | 198 | /** |
@@ -208,7 +208,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
208 | */ | 208 | */ |
209 | int | 209 | int |
210 | (*state_modify_set) (void *cls, | 210 | (*state_modify_set) (void *cls, |
211 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 211 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
212 | const char *name, const void *value, size_t value_size); | 212 | const char *name, const void *value, size_t value_size); |
213 | 213 | ||
214 | 214 | ||
@@ -221,7 +221,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
221 | */ | 221 | */ |
222 | int | 222 | int |
223 | (*state_modify_end) (void *cls, | 223 | (*state_modify_end) (void *cls, |
224 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 224 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
225 | uint64_t message_id); | 225 | uint64_t message_id); |
226 | 226 | ||
227 | 227 | ||
@@ -234,7 +234,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
234 | */ | 234 | */ |
235 | int | 235 | int |
236 | (*state_sync_begin) (void *cls, | 236 | (*state_sync_begin) (void *cls, |
237 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key); | 237 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key); |
238 | 238 | ||
239 | /** | 239 | /** |
240 | * Set the value of a state variable while synchronizing state. | 240 | * Set the value of a state variable while synchronizing state. |
@@ -249,7 +249,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
249 | */ | 249 | */ |
250 | int | 250 | int |
251 | (*state_sync_set) (void *cls, | 251 | (*state_sync_set) (void *cls, |
252 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 252 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
253 | const char *name, const void *value, size_t value_size); | 253 | const char *name, const void *value, size_t value_size); |
254 | 254 | ||
255 | 255 | ||
@@ -262,7 +262,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
262 | */ | 262 | */ |
263 | int | 263 | int |
264 | (*state_sync_end) (void *cls, | 264 | (*state_sync_end) (void *cls, |
265 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 265 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
266 | uint64_t message_id); | 266 | uint64_t message_id); |
267 | 267 | ||
268 | 268 | ||
@@ -277,7 +277,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
277 | */ | 277 | */ |
278 | int | 278 | int |
279 | (*state_reset) (void *cls, | 279 | (*state_reset) (void *cls, |
280 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key); | 280 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key); |
281 | 281 | ||
282 | /** | 282 | /** |
283 | * Update signed state values from the current ones. | 283 | * Update signed state values from the current ones. |
@@ -286,7 +286,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
286 | */ | 286 | */ |
287 | int | 287 | int |
288 | (*state_update_signed) (void *cls, | 288 | (*state_update_signed) (void *cls, |
289 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key); | 289 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key); |
290 | 290 | ||
291 | 291 | ||
292 | /** | 292 | /** |
@@ -296,7 +296,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
296 | */ | 296 | */ |
297 | int | 297 | int |
298 | (*state_get) (void *cls, | 298 | (*state_get) (void *cls, |
299 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 299 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
300 | const char *name, | 300 | const char *name, |
301 | GNUNET_PSYCSTORE_StateCallback cb, | 301 | GNUNET_PSYCSTORE_StateCallback cb, |
302 | void *cb_cls); | 302 | void *cb_cls); |
@@ -310,7 +310,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
310 | */ | 310 | */ |
311 | int | 311 | int |
312 | (*state_get_prefix) (void *cls, | 312 | (*state_get_prefix) (void *cls, |
313 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 313 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
314 | const char *name, | 314 | const char *name, |
315 | GNUNET_PSYCSTORE_StateCallback cb, | 315 | GNUNET_PSYCSTORE_StateCallback cb, |
316 | void *cb_cls); | 316 | void *cb_cls); |
@@ -323,7 +323,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
323 | */ | 323 | */ |
324 | int | 324 | int |
325 | (*state_get_signed) (void *cls, | 325 | (*state_get_signed) (void *cls, |
326 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, | 326 | const struct GNUNET_CRYPTO_EddsaPublicKey *channel_key, |
327 | GNUNET_PSYCSTORE_StateCallback cb, | 327 | GNUNET_PSYCSTORE_StateCallback cb, |
328 | void *cb_cls); | 328 | void *cb_cls); |
329 | 329 | ||