aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_transport_communication_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_transport_communication_service.h')
-rw-r--r--src/include/gnunet_transport_communication_service.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/include/gnunet_transport_communication_service.h b/src/include/gnunet_transport_communication_service.h
index 81a382fb2..ea947911f 100644
--- a/src/include/gnunet_transport_communication_service.h
+++ b/src/include/gnunet_transport_communication_service.h
@@ -19,12 +19,15 @@
19 */ 19 */
20 20
21/** 21/**
22 * @addtogroup Backbone
23 * @{
24 *
22 * @author Christian Grothoff 25 * @author Christian Grothoff
23 * 26 *
24 * @file 27 * @file
25 * API of the transport service towards the communicator processes. 28 * API of the transport service towards the communicator processes.
26 * 29 *
27 * @defgroup transport TRANSPORT service 30 * @defgroup TNG Transport Next Generation service
28 * Low-level communication with other peers 31 * Low-level communication with other peers
29 * 32 *
30 * @see [Documentation](https://gnunet.org/transport-service) 33 * @see [Documentation](https://gnunet.org/transport-service)
@@ -42,8 +45,8 @@ extern "C" {
42#endif 45#endif
43#endif 46#endif
44 47
48
45#include "gnunet_util_lib.h" 49#include "gnunet_util_lib.h"
46#include "gnunet_nt_lib.h"
47 50
48/** 51/**
49 * Version number of the transport communication API. 52 * Version number of the transport communication API.
@@ -71,7 +74,7 @@ extern "C" {
71 * @param address where to send the message, human-readable 74 * @param address where to send the message, human-readable
72 * communicator-specific format, 0-terminated, UTF-8 75 * communicator-specific format, 0-terminated, UTF-8
73 * @return #GNUNET_OK on success, #GNUNET_SYSERR if the provided address is 76 * @return #GNUNET_OK on success, #GNUNET_SYSERR if the provided address is
74 * invalid 77 * invalid, #GNUNET_NO if this address is already (beging) connected to.
75 */ 78 */
76typedef int (*GNUNET_TRANSPORT_CommunicatorMqInit) ( 79typedef int (*GNUNET_TRANSPORT_CommunicatorMqInit) (
77 void *cls, 80 void *cls,
@@ -135,7 +138,8 @@ typedef void (*GNUNET_TRANSPORT_CommunicatorNotify) (
135 * Connect to the transport service. 138 * Connect to the transport service.
136 * 139 *
137 * @param cfg configuration to use 140 * @param cfg configuration to use
138 * @param config_section section of the configuration to use for options 141 * @param config_section_name section of the configuration to use for
142 * options
139 * @param addr_prefix address prefix for addresses supported by this 143 * @param addr_prefix address prefix for addresses supported by this
140 * communicator, could be NULL for incoming-only communicators 144 * communicator, could be NULL for incoming-only communicators
141 * @param cc what characteristics does the communicator have? 145 * @param cc what characteristics does the communicator have?
@@ -280,7 +284,7 @@ GNUNET_TRANSPORT_communicator_mq_add (
280 * Notify transport service that an MQ was updated 284 * Notify transport service that an MQ was updated
281 * 285 *
282 * @param ch connection to transport service 286 * @param ch connection to transport service
283 * @param qh the queue to update 287 * @param u_qh the queue to update
284 * @param q_len number of messages that can be send through this queue 288 * @param q_len number of messages that can be send through this queue
285 * @param priority queue priority. Queues with highest priority should be 289 * @param priority queue priority. Queues with highest priority should be
286 * used 290 * used
@@ -383,4 +387,6 @@ GNUNET_TRANSPORT_communicator_notify (
383 387
384/** @} */ /* end of group */ 388/** @} */ /* end of group */
385 389
390/** @} */ /* end of group addition */
391
386/* end of gnunet_transport_communicator_service.h */ 392/* end of gnunet_transport_communicator_service.h */