aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_transport_communication_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-08 14:40:01 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-08 14:40:01 +0100
commit6dc4bacb0197e96d5d9c6e5f881a104ab054a1f0 (patch)
tree9050589ac3ba2731f3d8dd1d8456b2e78794aeef /src/include/gnunet_transport_communication_service.h
parent304bfc5d18d5613a38b5d927925dbfa00adfc82a (diff)
downloadgnunet-6dc4bacb0197e96d5d9c6e5f881a104ab054a1f0.tar.gz
gnunet-6dc4bacb0197e96d5d9c6e5f881a104ab054a1f0.zip
send NEW_COMMUNICATOR message on startup
Diffstat (limited to 'src/include/gnunet_transport_communication_service.h')
-rw-r--r--src/include/gnunet_transport_communication_service.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/gnunet_transport_communication_service.h b/src/include/gnunet_transport_communication_service.h
index ab5d3742a..50f94bddf 100644
--- a/src/include/gnunet_transport_communication_service.h
+++ b/src/include/gnunet_transport_communication_service.h
@@ -83,7 +83,9 @@ struct GNUNET_TRANSPORT_CommunicatorHandle;
83 * Connect to the transport service. 83 * Connect to the transport service.
84 * 84 *
85 * @param cfg configuration to use 85 * @param cfg configuration to use
86 * @param name name of the communicator that is connecting 86 * @param config_section section of the configuration to use for options
87 * @param addr_prefix address prefix for addresses supported by this
88 * communicator, could be NULL for incoming-only communicators
87 * @param mtu maximum message size supported by communicator, 0 if 89 * @param mtu maximum message size supported by communicator, 0 if
88 * sending is not supported, SIZE_MAX for no MTU 90 * sending is not supported, SIZE_MAX for no MTU
89 * @param mq_init function to call to initialize a message queue given 91 * @param mq_init function to call to initialize a message queue given
@@ -94,7 +96,8 @@ struct GNUNET_TRANSPORT_CommunicatorHandle;
94 */ 96 */
95struct GNUNET_TRANSPORT_CommunicatorHandle * 97struct GNUNET_TRANSPORT_CommunicatorHandle *
96GNUNET_TRANSPORT_communicator_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, 98GNUNET_TRANSPORT_communicator_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
97 const char *name, 99 const char *config_section_name,
100 const char *addr_prefix,
98 size_t mtu, 101 size_t mtu,
99 GNUNET_TRANSPORT_CommunicatorMqInit mq_init, 102 GNUNET_TRANSPORT_CommunicatorMqInit mq_init,
100 void *mq_init_cls); 103 void *mq_init_cls);