fix misc typos
authorChristian Grothoff <christian@grothoff.org>
Tue, 21 Feb 2017 21:47:41 +0000 (22:47 +0100)
committerChristian Grothoff <christian@grothoff.org>
Tue, 21 Feb 2017 21:47:41 +0000 (22:47 +0100)
src/include/gnunet_credential_service.h
src/include/gnunet_gns_service.h
src/include/gnunet_set_service.h
src/set/gnunet-service-set.h

index 99d41616987cc3f2ec933d15e1fbef4573fae720..9e765c12b22f5bb9fdfd37518c6c366383e2a7c5 100644 (file)
@@ -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);
 
 
 /**
index 8a1099444075b367477cd605605a0361eaa19136..44f57014de02be99c88554737a93ca430399ab43 100644 (file)
@@ -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,
index 44773f1872457753d44769225482e0b58ffe8c5f..15bc0f04f69c523a6677a34cbdd496e01268d9a1 100644 (file)
@@ -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.
    */
index 573a2b7d95517b87566873100b4de07f8c9cbc74..1460707fa8f76b5daf0fb0a62bdb30e090fe3526 100644 (file)
@@ -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;
 };