diff options
Diffstat (limited to 'src/include/gnunet_identity_service.h')
-rw-r--r-- | src/include/gnunet_identity_service.h | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/src/include/gnunet_identity_service.h b/src/include/gnunet_identity_service.h index 674176e0e..e09e2f196 100644 --- a/src/include/gnunet_identity_service.h +++ b/src/include/gnunet_identity_service.h | |||
@@ -137,10 +137,11 @@ GNUNET_IDENTITY_ego_get_public_key (const struct GNUNET_IDENTITY_Ego *ego, | |||
137 | * NULL if the user just deleted the ego and it | 137 | * NULL if the user just deleted the ego and it |
138 | * must thus no longer be used | 138 | * must thus no longer be used |
139 | */ | 139 | */ |
140 | typedef void (*GNUNET_IDENTITY_Callback) (void *cls, | 140 | typedef void |
141 | struct GNUNET_IDENTITY_Ego *ego, | 141 | (*GNUNET_IDENTITY_Callback) (void *cls, |
142 | void **ctx, | 142 | struct GNUNET_IDENTITY_Ego *ego, |
143 | const char *name); | 143 | void **ctx, |
144 | const char *name); | ||
144 | 145 | ||
145 | 146 | ||
146 | /** | 147 | /** |
@@ -180,7 +181,9 @@ GNUNET_IDENTITY_get (struct GNUNET_IDENTITY_Handle *id, | |||
180 | * @param cls closure | 181 | * @param cls closure |
181 | * @param emsg NULL on success, otherwise an error message | 182 | * @param emsg NULL on success, otherwise an error message |
182 | */ | 183 | */ |
183 | typedef void (*GNUNET_IDENTITY_Continuation) (void *cls, const char *emsg); | 184 | typedef void |
185 | (*GNUNET_IDENTITY_Continuation) (void *cls, | ||
186 | const char *emsg); | ||
184 | 187 | ||
185 | 188 | ||
186 | /** | 189 | /** |
@@ -218,7 +221,8 @@ GNUNET_IDENTITY_disconnect (struct GNUNET_IDENTITY_Handle *h); | |||
218 | * @param pk private key, NULL on error | 221 | * @param pk private key, NULL on error |
219 | * @param emsg error message, NULL on success | 222 | * @param emsg error message, NULL on success |
220 | */ | 223 | */ |
221 | typedef void (*GNUNET_IDENTITY_CreateContinuation) ( | 224 | typedef void |
225 | (*GNUNET_IDENTITY_CreateContinuation) ( | ||
222 | void *cls, | 226 | void *cls, |
223 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *pk, | 227 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *pk, |
224 | const char *emsg); | 228 | const char *emsg); |
@@ -294,9 +298,9 @@ GNUNET_IDENTITY_cancel (struct GNUNET_IDENTITY_Operation *op); | |||
294 | * @param cls closure | 298 | * @param cls closure |
295 | * @param ego NULL on error / ego not found | 299 | * @param ego NULL on error / ego not found |
296 | */ | 300 | */ |
297 | typedef void (*GNUNET_IDENTITY_EgoCallback) ( | 301 | typedef void |
298 | void *cls, | 302 | (*GNUNET_IDENTITY_EgoCallback) (void *cls, |
299 | const struct GNUNET_IDENTITY_Ego *ego); | 303 | const struct GNUNET_IDENTITY_Ego *ego); |
300 | 304 | ||
301 | /** | 305 | /** |
302 | * Handle for ego lookup. | 306 | * Handle for ego lookup. |
@@ -335,7 +339,8 @@ GNUNET_IDENTITY_ego_lookup_cancel (struct GNUNET_IDENTITY_EgoLookup *el); | |||
335 | * @param ego NULL on error / ego not found | 339 | * @param ego NULL on error / ego not found |
336 | * @param ego_name NULL on error, name of the ego otherwise | 340 | * @param ego_name NULL on error, name of the ego otherwise |
337 | */ | 341 | */ |
338 | typedef void (*GNUNET_IDENTITY_EgoSuffixCallback) ( | 342 | typedef void |
343 | (*GNUNET_IDENTITY_EgoSuffixCallback) ( | ||
339 | void *cls, | 344 | void *cls, |
340 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *priv, | 345 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *priv, |
341 | const char *ego_name); | 346 | const char *ego_name); |
@@ -373,8 +378,9 @@ GNUNET_IDENTITY_ego_lookup_by_suffix (const struct | |||
373 | * @param el handle for lookup to abort | 378 | * @param el handle for lookup to abort |
374 | */ | 379 | */ |
375 | void | 380 | void |
376 | GNUNET_IDENTITY_ego_lookup_by_suffix_cancel (struct | 381 | GNUNET_IDENTITY_ego_lookup_by_suffix_cancel ( |
377 | GNUNET_IDENTITY_EgoSuffixLookup *el); | 382 | struct GNUNET_IDENTITY_EgoSuffixLookup *el); |
383 | |||
378 | 384 | ||
379 | #if 0 /* keep Emacsens' auto-indent happy */ | 385 | #if 0 /* keep Emacsens' auto-indent happy */ |
380 | { | 386 | { |