From: Christian Grothoff Date: Tue, 21 Feb 2017 21:47:41 +0000 (+0100) Subject: fix misc typos X-Git-Tag: taler-0.2.1~99 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3b977cf34b5edb9f7640ad8373b44f5a2c02308a;p=oweals%2Fgnunet.git fix misc typos --- diff --git a/src/include/gnunet_credential_service.h b/src/include/gnunet_credential_service.h index 99d416169..9e765c12b 100644 --- a/src/include/gnunet_credential_service.h +++ b/src/include/gnunet_credential_service.h @@ -80,12 +80,13 @@ GNUNET_CREDENTIAL_disconnect (struct GNUNET_CREDENTIAL_Handle *handle); * @param cls closure * @param issuer the issuer chain * @param issuer_len length of issuer chain - * @param rd the records in reply + * @param value the value returned */ -typedef void (*GNUNET_CREDENTIAL_LookupResultProcessor) (void *cls, - struct GNUNET_IDENTITY_Ego *issuer, - uint16_t issuer_len, - const struct GNUNET_CREDENTIAL_Value *value); +typedef void +(*GNUNET_CREDENTIAL_LookupResultProcessor) (void *cls, + struct GNUNET_IDENTITY_Ego *issuer, + uint16_t issuer_len, + const struct GNUNET_CREDENTIAL_Value *value); /** @@ -100,10 +101,10 @@ typedef void (*GNUNET_CREDENTIAL_LookupResultProcessor) (void *cls, */ struct GNUNET_CREDENTIAL_LookupRequest * GNUNET_CREDENTIAL_lookup (struct GNUNET_CREDENTIAL_Handle *handle, - const char *credential, - const struct GNUNET_IDENTITY_Ego *subject, - GNUNET_CREDENTIAL_LookupResultProcessor proc, - void *proc_cls); + const char *credential, + const struct GNUNET_IDENTITY_Ego *subject, + GNUNET_CREDENTIAL_LookupResultProcessor proc, + void *proc_cls); /** diff --git a/src/include/gnunet_gns_service.h b/src/include/gnunet_gns_service.h index 8a1099444..44f57014d 100644 --- a/src/include/gnunet_gns_service.h +++ b/src/include/gnunet_gns_service.h @@ -90,19 +90,20 @@ GNUNET_GNS_disconnect (struct GNUNET_GNS_Handle *handle); * @param rd_count number of records in @a rd * @param rd the records in reply */ -typedef void (*GNUNET_GNS_LookupResultProcessor) (void *cls, - uint32_t rd_count, - const struct GNUNET_GNSRECORD_Data *rd); +typedef void +(*GNUNET_GNS_LookupResultProcessor) (void *cls, + uint32_t rd_count, + const struct GNUNET_GNSRECORD_Data *rd); /** * Iterator called on obtained result for a GNS lookup. * * @param cls closure - * @param rd_count number of records in @a rd - * @param rd the records in reply + * @param name result of the reverse lookup */ -typedef void (*GNUNET_GNS_ReverseLookupResultProcessor) (void *cls, - const char* name); +typedef void +(*GNUNET_GNS_ReverseLookupResultProcessor) (void *cls, + const char* name); /** @@ -166,7 +167,7 @@ GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle, * @param proc_cls closure for @a proc * @return handle to the request */ -struct GNUNET_GNS_ReverseLookupRequest* +struct GNUNET_GNS_ReverseLookupRequest * GNUNET_GNS_reverse_lookup (struct GNUNET_GNS_Handle *handle, const struct GNUNET_CRYPTO_EcdsaPublicKey *zone_key, const struct GNUNET_CRYPTO_EcdsaPublicKey *root_key, diff --git a/src/include/gnunet_set_service.h b/src/include/gnunet_set_service.h index 44773f187..15bc0f04f 100644 --- a/src/include/gnunet_set_service.h +++ b/src/include/gnunet_set_service.h @@ -181,7 +181,7 @@ enum GNUNET_SET_ResultMode GNUNET_SET_RESULT_REMOVED, /** - * Client gets only elements that have been removed from the set. + * Client gets only elements that have been added to the set. * * Only supported for set union. */ diff --git a/src/set/gnunet-service-set.h b/src/set/gnunet-service-set.h index 573a2b7d9..1460707fa 100644 --- a/src/set/gnunet-service-set.h +++ b/src/set/gnunet-service-set.h @@ -493,8 +493,8 @@ struct PendingMutation /** * Message that describes the desired mutation. - * May only be a GNUNET_MESSAGE_TYPE_SET_ADD or - * GNUNET_MESSAGE_TYPE_SET_REMOVE. + * May only be a #GNUNET_MESSAGE_TYPE_SET_ADD or + * #GNUNET_MESSAGE_TYPE_SET_REMOVE. */ struct GNUNET_MessageHeader *mutation_message; };