summaryrefslogtreecommitdiff
path: root/src/transport/transport.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/transport/transport.h
parent304bfc5d18d5613a38b5d927925dbfa00adfc82a (diff)
send NEW_COMMUNICATOR message on startup
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r--src/transport/transport.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h
index 5662d6c4d..f21863aef 100644
--- a/src/transport/transport.h
+++ b/src/transport/transport.h
@@ -654,6 +654,22 @@ struct TransportPluginMonitorMessage
/* *********************** TNG messages ***************** */
/**
+ * Communicator goes online. Note which addresses it can
+ * work with.
+ */
+struct GNUNET_TRANSPORT_CommunicatorAvailableMessage
+{
+
+ /**
+ * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_NEW_COMMUNICATOR.
+ */
+ struct GNUNET_MessageHeader header;
+
+ /* Followed by the address prefix of the communicator */
+};
+
+
+/**
* Add address to the list.
*/
struct GNUNET_TRANSPORT_AddAddressMessage