aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport.h
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-09-03 15:28:43 +0000
committerNathan S. Evans <evans@in.tum.de>2010-09-03 15:28:43 +0000
commit2e0b0c8b13496bde84f42a45c8dc72ed78a86971 (patch)
treef941a6470ae93de3778e4228b736a221388ef8ff /src/transport/transport.h
parenteb243bc1d82bef705576b5f5b38122b04f51b634 (diff)
downloadgnunet-2e0b0c8b13496bde84f42a45c8dc72ed78a86971.tar.gz
gnunet-2e0b0c8b13496bde84f42a45c8dc72ed78a86971.zip
making core request connect work
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r--src/transport/transport.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h
index aa934c944..237f31581 100644
--- a/src/transport/transport.h
+++ b/src/transport/transport.h
@@ -127,6 +127,24 @@ struct DisconnectInfoMessage
127 127
128}; 128};
129 129
130/**
131 * Message type for sending a request connect message
132 * to the transport service. Must be done before transport
133 * api will allow messages to be queued/sent to transport
134 * service for transmission to a peer.
135 */
136struct TransportRequestConnectMessage
137{
138 /**
139 * Message header
140 */
141 struct GNUNET_MessageHeader header;
142
143 /**
144 * Identity of the peer we would like to connect to.
145 */
146 struct GNUNET_PeerIdentity peer;
147};
130 148
131/** 149/**
132 * Message used to set a particular bandwidth quota. Send TO the 150 * Message used to set a particular bandwidth quota. Send TO the