aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-21 22:47:41 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-21 22:47:41 +0100
commit3b977cf34b5edb9f7640ad8373b44f5a2c02308a (patch)
tree3fc6c27052cb2d6c492b22a4a18c16f0f3799995 /src/include
parent647d88d649c267220feb8b5f53ec3e96359a72fc (diff)
downloadgnunet-3b977cf34b5edb9f7640ad8373b44f5a2c02308a.tar.gz
gnunet-3b977cf34b5edb9f7640ad8373b44f5a2c02308a.zip
fix misc typos
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_credential_service.h19
-rw-r--r--src/include/gnunet_gns_service.h17
-rw-r--r--src/include/gnunet_set_service.h2
3 files changed, 20 insertions, 18 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);
80 * @param cls closure 80 * @param cls closure
81 * @param issuer the issuer chain 81 * @param issuer the issuer chain
82 * @param issuer_len length of issuer chain 82 * @param issuer_len length of issuer chain
83 * @param rd the records in reply 83 * @param value the value returned
84 */ 84 */
85typedef void (*GNUNET_CREDENTIAL_LookupResultProcessor) (void *cls, 85typedef void
86 struct GNUNET_IDENTITY_Ego *issuer, 86(*GNUNET_CREDENTIAL_LookupResultProcessor) (void *cls,
87 uint16_t issuer_len, 87 struct GNUNET_IDENTITY_Ego *issuer,
88 const struct GNUNET_CREDENTIAL_Value *value); 88 uint16_t issuer_len,
89 const struct GNUNET_CREDENTIAL_Value *value);
89 90
90 91
91/** 92/**
@@ -100,10 +101,10 @@ typedef void (*GNUNET_CREDENTIAL_LookupResultProcessor) (void *cls,
100 */ 101 */
101struct GNUNET_CREDENTIAL_LookupRequest * 102struct GNUNET_CREDENTIAL_LookupRequest *
102GNUNET_CREDENTIAL_lookup (struct GNUNET_CREDENTIAL_Handle *handle, 103GNUNET_CREDENTIAL_lookup (struct GNUNET_CREDENTIAL_Handle *handle,
103 const char *credential, 104 const char *credential,
104 const struct GNUNET_IDENTITY_Ego *subject, 105 const struct GNUNET_IDENTITY_Ego *subject,
105 GNUNET_CREDENTIAL_LookupResultProcessor proc, 106 GNUNET_CREDENTIAL_LookupResultProcessor proc,
106 void *proc_cls); 107 void *proc_cls);
107 108
108 109
109/** 110/**
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);
90 * @param rd_count number of records in @a rd 90 * @param rd_count number of records in @a rd
91 * @param rd the records in reply 91 * @param rd the records in reply
92 */ 92 */
93typedef void (*GNUNET_GNS_LookupResultProcessor) (void *cls, 93typedef void
94 uint32_t rd_count, 94(*GNUNET_GNS_LookupResultProcessor) (void *cls,
95 const struct GNUNET_GNSRECORD_Data *rd); 95 uint32_t rd_count,
96 const struct GNUNET_GNSRECORD_Data *rd);
96 97
97/** 98/**
98 * Iterator called on obtained result for a GNS lookup. 99 * Iterator called on obtained result for a GNS lookup.
99 * 100 *
100 * @param cls closure 101 * @param cls closure
101 * @param rd_count number of records in @a rd 102 * @param name result of the reverse lookup
102 * @param rd the records in reply
103 */ 103 */
104typedef void (*GNUNET_GNS_ReverseLookupResultProcessor) (void *cls, 104typedef void
105 const char* name); 105(*GNUNET_GNS_ReverseLookupResultProcessor) (void *cls,
106 const char* name);
106 107
107 108
108/** 109/**
@@ -166,7 +167,7 @@ GNUNET_GNS_lookup (struct GNUNET_GNS_Handle *handle,
166 * @param proc_cls closure for @a proc 167 * @param proc_cls closure for @a proc
167 * @return handle to the request 168 * @return handle to the request
168 */ 169 */
169struct GNUNET_GNS_ReverseLookupRequest* 170struct GNUNET_GNS_ReverseLookupRequest *
170GNUNET_GNS_reverse_lookup (struct GNUNET_GNS_Handle *handle, 171GNUNET_GNS_reverse_lookup (struct GNUNET_GNS_Handle *handle,
171 const struct GNUNET_CRYPTO_EcdsaPublicKey *zone_key, 172 const struct GNUNET_CRYPTO_EcdsaPublicKey *zone_key,
172 const struct GNUNET_CRYPTO_EcdsaPublicKey *root_key, 173 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
181 GNUNET_SET_RESULT_REMOVED, 181 GNUNET_SET_RESULT_REMOVED,
182 182
183 /** 183 /**
184 * Client gets only elements that have been removed from the set. 184 * Client gets only elements that have been added to the set.
185 * 185 *
186 * Only supported for set union. 186 * Only supported for set union.
187 */ 187 */