aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_identity_service.h
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-10-27 23:24:27 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2022-10-27 23:24:27 +0900
commit8ccba14bbf77f784f6490130928a26e678f13736 (patch)
treea3a523c230ed0ea512fa506036473c4693484942 /src/include/gnunet_identity_service.h
parentee022170116cd20fc4983e176b62afd427791e68 (diff)
downloadgnunet-8ccba14bbf77f784f6490130928a26e678f13736.tar.gz
gnunet-8ccba14bbf77f784f6490130928a26e678f13736.zip
IDENTITY/NAMESTORE:
Remove the concept of "Subsystem default identities". Add GNUNET_ErrorCodes to IDENTITY subsystem.
Diffstat (limited to 'src/include/gnunet_identity_service.h')
-rw-r--r--src/include/gnunet_identity_service.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_identity_service.h b/src/include/gnunet_identity_service.h
index c54f6abf8..d234ff552 100644
--- a/src/include/gnunet_identity_service.h
+++ b/src/include/gnunet_identity_service.h
@@ -280,11 +280,11 @@ GNUNET_IDENTITY_get (struct GNUNET_IDENTITY_Handle *id,
280 * been completed. 280 * been completed.
281 * 281 *
282 * @param cls closure 282 * @param cls closure
283 * @param emsg NULL on success, otherwise an error message 283 * @param ec the #GNUNET_ErrorCode
284 */ 284 */
285typedef void 285typedef void
286(*GNUNET_IDENTITY_Continuation) (void *cls, 286(*GNUNET_IDENTITY_Continuation) (void *cls,
287 const char *emsg); 287 enum GNUNET_ErrorCode ec);
288 288
289 289
290/** 290/**
@@ -320,13 +320,13 @@ GNUNET_IDENTITY_disconnect (struct GNUNET_IDENTITY_Handle *h);
320 * 320 *
321 * @param cls closure 321 * @param cls closure
322 * @param pk private key, NULL on error 322 * @param pk private key, NULL on error
323 * @param emsg error message, NULL on success 323 * @param ec the #GNUNET_ErrorCode
324 */ 324 */
325typedef void 325typedef void
326(*GNUNET_IDENTITY_CreateContinuation) ( 326(*GNUNET_IDENTITY_CreateContinuation) (
327 void *cls, 327 void *cls,
328 const struct GNUNET_IDENTITY_PrivateKey *pk, 328 const struct GNUNET_IDENTITY_PrivateKey *pk,
329 const char *emsg); 329 enum GNUNET_ErrorCode ec);
330 330
331 331
332/** 332/**