diff options
Diffstat (limited to 'src/include/gnunet_psycstore_plugin.h')
-rw-r--r-- | src/include/gnunet_psycstore_plugin.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/include/gnunet_psycstore_plugin.h b/src/include/gnunet_psycstore_plugin.h index 00928d2b7..6852a6dd5 100644 --- a/src/include/gnunet_psycstore_plugin.h +++ b/src/include/gnunet_psycstore_plugin.h | |||
@@ -60,8 +60,8 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
60 | */ | 60 | */ |
61 | int | 61 | int |
62 | (*membership_store) (void *cls, | 62 | (*membership_store) (void *cls, |
63 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 63 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
64 | const struct GNUNET_CRYPTO_EccPublicKey *slave_key, | 64 | const struct GNUNET_CRYPTO_EccPublicSignKey *slave_key, |
65 | int did_join, | 65 | int did_join, |
66 | uint64_t announced_at, | 66 | uint64_t announced_at, |
67 | uint64_t effective_since, | 67 | uint64_t effective_since, |
@@ -77,8 +77,8 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
77 | */ | 77 | */ |
78 | int | 78 | int |
79 | (*membership_test) (void *cls, | 79 | (*membership_test) (void *cls, |
80 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 80 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
81 | const struct GNUNET_CRYPTO_EccPublicKey *slave_key, | 81 | const struct GNUNET_CRYPTO_EccPublicSignKey *slave_key, |
82 | uint64_t message_id); | 82 | uint64_t message_id); |
83 | 83 | ||
84 | /** | 84 | /** |
@@ -90,7 +90,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
90 | */ | 90 | */ |
91 | int | 91 | int |
92 | (*fragment_store) (void *cls, | 92 | (*fragment_store) (void *cls, |
93 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 93 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
94 | const struct GNUNET_MULTICAST_MessageHeader *message, | 94 | const struct GNUNET_MULTICAST_MessageHeader *message, |
95 | uint32_t psycstore_flags); | 95 | uint32_t psycstore_flags); |
96 | 96 | ||
@@ -108,7 +108,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
108 | */ | 108 | */ |
109 | int | 109 | int |
110 | (*message_add_flags) (void *cls, | 110 | (*message_add_flags) (void *cls, |
111 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 111 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
112 | uint64_t message_id, | 112 | uint64_t message_id, |
113 | uint64_t psycstore_flags); | 113 | uint64_t psycstore_flags); |
114 | 114 | ||
@@ -121,7 +121,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
121 | */ | 121 | */ |
122 | int | 122 | int |
123 | (*fragment_get) (void *cls, | 123 | (*fragment_get) (void *cls, |
124 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 124 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
125 | uint64_t fragment_id, | 125 | uint64_t fragment_id, |
126 | GNUNET_PSYCSTORE_FragmentCallback cb, | 126 | GNUNET_PSYCSTORE_FragmentCallback cb, |
127 | void *cb_cls); | 127 | void *cb_cls); |
@@ -135,7 +135,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
135 | */ | 135 | */ |
136 | int | 136 | int |
137 | (*message_get) (void *cls, | 137 | (*message_get) (void *cls, |
138 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 138 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
139 | uint64_t message_id, | 139 | uint64_t message_id, |
140 | GNUNET_PSYCSTORE_FragmentCallback cb, | 140 | GNUNET_PSYCSTORE_FragmentCallback cb, |
141 | void *cb_cls); | 141 | void *cb_cls); |
@@ -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_EccPublicKey *channel_key, | 153 | const struct GNUNET_CRYPTO_EccPublicSignKey *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_get_master) (void *cls, | 167 | (*counters_get_master) (void *cls, |
168 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 168 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
169 | uint64_t *fragment_id, | 169 | uint64_t *fragment_id, |
170 | uint64_t *message_id, | 170 | uint64_t *message_id, |
171 | uint64_t *group_generation); | 171 | uint64_t *group_generation); |
@@ -179,7 +179,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
179 | */ | 179 | */ |
180 | int | 180 | int |
181 | (*counters_get_slave) (void *cls, | 181 | (*counters_get_slave) (void *cls, |
182 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 182 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
183 | uint64_t *max_state_msg_id); | 183 | uint64_t *max_state_msg_id); |
184 | 184 | ||
185 | /** | 185 | /** |
@@ -191,7 +191,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
191 | */ | 191 | */ |
192 | int | 192 | int |
193 | (*state_set) (void *cls, | 193 | (*state_set) (void *cls, |
194 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 194 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
195 | const char *name, | 195 | const char *name, |
196 | const void *value, | 196 | const void *value, |
197 | size_t value_size); | 197 | size_t value_size); |
@@ -208,7 +208,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
208 | */ | 208 | */ |
209 | int | 209 | int |
210 | (*state_reset) (void *cls, | 210 | (*state_reset) (void *cls, |
211 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key); | 211 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key); |
212 | 212 | ||
213 | /** | 213 | /** |
214 | * Update signed state values from the current ones. | 214 | * Update signed state values from the current ones. |
@@ -217,7 +217,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
217 | */ | 217 | */ |
218 | int | 218 | int |
219 | (*state_update_signed) (void *cls, | 219 | (*state_update_signed) (void *cls, |
220 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key); | 220 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key); |
221 | 221 | ||
222 | /** | 222 | /** |
223 | * Update signed values of state variables in the state store. | 223 | * Update signed values of state variables in the state store. |
@@ -233,7 +233,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
233 | */ | 233 | */ |
234 | int | 234 | int |
235 | (*state_hash_update) (void *cls, | 235 | (*state_hash_update) (void *cls, |
236 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 236 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
237 | uint64_t message_id, | 237 | uint64_t message_id, |
238 | const struct GNUNET_HashCode *hash, | 238 | const struct GNUNET_HashCode *hash, |
239 | GNUNET_PSYCSTORE_ResultCallback rcb, | 239 | GNUNET_PSYCSTORE_ResultCallback rcb, |
@@ -246,7 +246,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
246 | */ | 246 | */ |
247 | int | 247 | int |
248 | (*state_get) (void *cls, | 248 | (*state_get) (void *cls, |
249 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 249 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
250 | const char *name, | 250 | const char *name, |
251 | GNUNET_PSYCSTORE_StateCallback cb, | 251 | GNUNET_PSYCSTORE_StateCallback cb, |
252 | void *cb_cls); | 252 | void *cb_cls); |
@@ -260,7 +260,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
260 | */ | 260 | */ |
261 | int | 261 | int |
262 | (*state_get_all) (void *cls, | 262 | (*state_get_all) (void *cls, |
263 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 263 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
264 | const char *name, | 264 | const char *name, |
265 | GNUNET_PSYCSTORE_StateCallback cb, | 265 | GNUNET_PSYCSTORE_StateCallback cb, |
266 | void *cb_cls); | 266 | void *cb_cls); |
@@ -273,7 +273,7 @@ struct GNUNET_PSYCSTORE_PluginFunctions | |||
273 | */ | 273 | */ |
274 | int | 274 | int |
275 | (*state_get_signed) (void *cls, | 275 | (*state_get_signed) (void *cls, |
276 | const struct GNUNET_CRYPTO_EccPublicKey *channel_key, | 276 | const struct GNUNET_CRYPTO_EccPublicSignKey *channel_key, |
277 | GNUNET_PSYCSTORE_StateCallback cb, | 277 | GNUNET_PSYCSTORE_StateCallback cb, |
278 | void *cb_cls); | 278 | void *cb_cls); |
279 | 279 | ||