aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_gns_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_gns_service.h')
-rw-r--r--src/include/gnunet_gns_service.h34
1 files changed, 16 insertions, 18 deletions
diff --git a/src/include/gnunet_gns_service.h b/src/include/gnunet_gns_service.h
index 24e0a67b7..90280a7b1 100644
--- a/src/include/gnunet_gns_service.h
+++ b/src/include/gnunet_gns_service.h
@@ -85,7 +85,7 @@ enum GNUNET_GNS_RecordType
85 * Initialize the connection with the GNS service. 85 * Initialize the connection with the GNS service.
86 * 86 *
87 * @param cfg configuration to use 87 * @param cfg configuration to use
88 * @param ht_len size of the internal hash table to use for parallel requests 88 *
89 * @return handle to the GNS service, or NULL on error 89 * @return handle to the GNS service, or NULL on error
90 */ 90 */
91struct GNUNET_GNS_Handle * 91struct GNUNET_GNS_Handle *
@@ -152,20 +152,19 @@ typedef void (*GNUNET_GNS_ShortenResultProcessor) (void *cls,
152 152
153 153
154/** 154/**
155 * Perform a shorten operation on name using the GNS. 155 * Perform a name shortening operation on the GNS.
156 * 156 *
157 * @param handle handle to the GNS service 157 * @param handle handle to the GNS service
158 * @param name the name to shorten 158 * @param name the name to look up
159 * @param proc processor to call on result 159 * @param proc function to call on result
160 * @param cls closure for processor 160 * @param proc_cls closure for processor
161 * 161 * @return handle to the operation
162 * @return handle to the shorten operation
163 */ 162 */
164struct GNUNET_GNS_QueueEntry * 163struct GNUNET_GNS_QueueEntry *
165GNUNET_GNS_shorten (struct GNUNET_GNS_Handle *handle, 164GNUNET_GNS_shorten (struct GNUNET_GNS_Handle *handle,
166 const char * name, 165 const char * name,
167 GNUNET_GNS_ShortenResultProcessor proc, 166 GNUNET_GNS_ShortenResultProcessor proc,
168 void *cls); 167 void *proc_cls);
169 168
170 169
171/* *************** Standard API: get authority ******************* */ 170/* *************** Standard API: get authority ******************* */
@@ -183,20 +182,19 @@ typedef void (*GNUNET_GNS_GetAuthResultProcessor) (void *cls,
183 182
184 183
185/** 184/**
186 * Perform a shorten operation on name using the GNS. 185 * Perform an authority lookup for a given name.
187 * 186 *
188 * @param handle handle to the GNS service 187 * @param handle handle to the GNS service
189 * @param name the name to look up authority for 188 * @param name the name to look up authority for
190 * @param proc processor to call on result 189 * @param proc function to call on result
191 * @param cls closure for processor 190 * @param proc_cls closure for processor
192 * 191 * @return handle to the operation
193 * @return handle to the get authority operation
194 */ 192 */
195struct GNUNET_GNS_QueueEntry * 193struct GNUNET_GNS_QueueEntry *
196GNUNET_GNS_get_authority (struct GNUNET_GNS_Handle *handle, 194GNUNET_GNS_get_authority (struct GNUNET_GNS_Handle *handle,
197 const char * name, 195 const char * name,
198 GNUNET_GNS_GetAuthResultProcessor proc, 196 GNUNET_GNS_GetAuthResultProcessor proc,
199 void *cls); 197 void *proc_cls);
200 198
201#if 0 /* keep Emacsens' auto-indent happy */ 199#if 0 /* keep Emacsens' auto-indent happy */
202{ 200{