aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-01-14 18:24:18 +0000
committerChristian Grothoff <christian@grothoff.org>2010-01-14 18:24:18 +0000
commit76fe0e518c1b00878102777513f53e754eb20013 (patch)
treee9fcbef8663c036ec55dd5dad314cbb3c3d2ec62 /src/include
parent7864d3fc9dc21f7a91e6f7b5a380840a2b4d7f7a (diff)
downloadgnunet-76fe0e518c1b00878102777513f53e754eb20013.tar.gz
gnunet-76fe0e518c1b00878102777513f53e754eb20013.zip
fixing documentation
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_transport_service.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h
index 74141a383..a705d3e10 100644
--- a/src/include/gnunet_transport_service.h
+++ b/src/include/gnunet_transport_service.h
@@ -235,10 +235,17 @@ GNUNET_TRANSPORT_offer_hello (struct GNUNET_TRANSPORT_Handle *handle,
235 const struct GNUNET_MessageHeader *hello); 235 const struct GNUNET_MessageHeader *hello);
236 236
237/** 237/**
238 * Obtain a AddressLookupMessage from a client and return to client all the host addresses of other peers. 238 * Convert a binary address into a human
239 * readable address.
239 * 240 *
240 * @param handle connection to transport service 241 * @param handle connection to transport service
241 * @param addLUmsg the address-lookup message 242 * @param cfg configuration to use
243 * @param address address to convert (binary format)
244 * @param addressLen number of bytes in address
245 * @param nameTrans name of the transport to which the address belongs
246 * @param timeout how long is the lookup allowed to take at most
247 * @param aluc function to call with the results
248 * @param aluc_cls closure for aluc
242 */ 249 */
243void 250void
244GNUNET_TRANSPORT_address_lookup (struct GNUNET_SCHEDULER_Handle *sched, 251GNUNET_TRANSPORT_address_lookup (struct GNUNET_SCHEDULER_Handle *sched,
@@ -246,9 +253,9 @@ GNUNET_TRANSPORT_address_lookup (struct GNUNET_SCHEDULER_Handle *sched,
246 const char * address, 253 const char * address,
247 size_t addressLen, 254 size_t addressLen,
248 const char * nameTrans, 255 const char * nameTrans,
249 struct GNUNET_TIME_Relative timeout, 256 struct GNUNET_TIME_Relative timeout,
250 GNUNET_TRANSPORT_AddressLookUpCallback aluc, 257 GNUNET_TRANSPORT_AddressLookUpCallback aluc,
251 void *aluc_cls); 258 void *aluc_cls);
252 259
253 260
254 261