aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_transport_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_transport_service.h')
-rw-r--r--src/include/gnunet_transport_service.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h
index 2ee9fb718..eddd8f8af 100644
--- a/src/include/gnunet_transport_service.h
+++ b/src/include/gnunet_transport_service.h
@@ -118,7 +118,6 @@ typedef void
118 * Connect to the transport service. Note that the connection may 118 * Connect to the transport service. Note that the connection may
119 * complete (or fail) asynchronously. 119 * complete (or fail) asynchronously.
120 * 120 *
121 * @param sched scheduler to use
122 * @param cfg configuration to use 121 * @param cfg configuration to use
123 * @param self our own identity (API should check that it matches 122 * @param self our own identity (API should check that it matches
124 * the identity found by transport), or NULL (no check) 123 * the identity found by transport), or NULL (no check)
@@ -128,10 +127,7 @@ typedef void
128 * @param nd function to call on disconnect events 127 * @param nd function to call on disconnect events
129 * @return NULL on error 128 * @return NULL on error
130 */ 129 */
131struct GNUNET_TRANSPORT_Handle *GNUNET_TRANSPORT_connect (struct 130struct GNUNET_TRANSPORT_Handle *GNUNET_TRANSPORT_connect (const struct
132 GNUNET_SCHEDULER_Handle
133 *sched,
134 const struct
135 GNUNET_CONFIGURATION_Handle 131 GNUNET_CONFIGURATION_Handle
136 *cfg, 132 *cfg,
137 const struct GNUNET_PeerIdentity *self, 133 const struct GNUNET_PeerIdentity *self,
@@ -278,7 +274,6 @@ GNUNET_TRANSPORT_offer_hello (struct GNUNET_TRANSPORT_Handle *handle,
278/** 274/**
279 * Convert a binary address into a human readable address. 275 * Convert a binary address into a human readable address.
280 * 276 *
281 * @param sched scheduler to use
282 * @param cfg configuration to use 277 * @param cfg configuration to use
283 * @param address address to convert (binary format) 278 * @param address address to convert (binary format)
284 * @param addressLen number of bytes in address 279 * @param addressLen number of bytes in address
@@ -290,8 +285,7 @@ GNUNET_TRANSPORT_offer_hello (struct GNUNET_TRANSPORT_Handle *handle,
290 * @param aluc_cls closure for aluc 285 * @param aluc_cls closure for aluc
291 */ 286 */
292void 287void
293GNUNET_TRANSPORT_address_lookup (struct GNUNET_SCHEDULER_Handle *sched, 288GNUNET_TRANSPORT_address_lookup (const struct GNUNET_CONFIGURATION_Handle *cfg,
294 const struct GNUNET_CONFIGURATION_Handle *cfg,
295 const char * address, 289 const char * address,
296 size_t addressLen, 290 size_t addressLen,
297 int numeric, 291 int numeric,
@@ -328,15 +322,13 @@ typedef int (*GNUNET_TRANSPORT_BlacklistCallback)(void *cls,
328 * only way to re-enable connections from peers that were previously 322 * only way to re-enable connections from peers that were previously
329 * blacklisted. 323 * blacklisted.
330 * 324 *
331 * @param sched scheduler to use
332 * @param cfg configuration to use 325 * @param cfg configuration to use
333 * @param cb callback to invoke to check if connections are allowed 326 * @param cb callback to invoke to check if connections are allowed
334 * @param cb_cls closure for cb 327 * @param cb_cls closure for cb
335 * @return NULL on error, otherwise handle for cancellation 328 * @return NULL on error, otherwise handle for cancellation
336 */ 329 */
337struct GNUNET_TRANSPORT_Blacklist * 330struct GNUNET_TRANSPORT_Blacklist *
338GNUNET_TRANSPORT_blacklist (struct GNUNET_SCHEDULER_Handle *sched, 331GNUNET_TRANSPORT_blacklist (const struct GNUNET_CONFIGURATION_Handle *cfg,
339 const struct GNUNET_CONFIGURATION_Handle *cfg,
340 GNUNET_TRANSPORT_BlacklistCallback cb, 332 GNUNET_TRANSPORT_BlacklistCallback cb,
341 void *cb_cls); 333 void *cb_cls);
342 334