aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r--src/transport/transport.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h
index 24479e4c6..931ba4810 100644
--- a/src/transport/transport.h
+++ b/src/transport/transport.h
@@ -977,6 +977,33 @@ struct GNUNET_TRANSPORT_CommunicatorBackchannel
977}; 977};
978 978
979 979
980/**
981 * Message from transport to communicator passing along a backchannel
982 * message from the given peer @e pid.
983 */
984struct GNUNET_TRANSPORT_CommunicatorBackchannelIncoming
985{
986 /**
987 * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_COMMUNICATOR_BACKCHANNEL_INCOMING
988 */
989 struct GNUNET_MessageHeader header;
990
991 /**
992 * Always zero, for alignment.
993 */
994 uint32_t reserved;
995
996 /**
997 * Origin peer.
998 */
999 struct GNUNET_PeerIdentity pid;
1000
1001 /* Followed by a `struct GNUNET_MessageHeader` with the encapsulated
1002 message to the communicator */
1003
1004};
1005
1006
980 1007
981/** 1008/**
982 * Request to start monitoring. 1009 * Request to start monitoring.