gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: fix misc typos


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix misc typos
Date: Tue, 21 Feb 2017 22:47:43 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 3b977cf34 fix misc typos
3b977cf34 is described below

commit 3b977cf34b5edb9f7640ad8373b44f5a2c02308a
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Feb 21 22:47:41 2017 +0100

    fix misc typos
---
 src/include/gnunet_credential_service.h | 19 ++++++++++---------
 src/include/gnunet_gns_service.h        | 17 +++++++++--------
 src/include/gnunet_set_service.h        |  2 +-
 src/set/gnunet-service-set.h            |  4 ++--
 4 files changed, 22 insertions(+), 20 deletions(-)

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;
 };

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]