diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-03 22:15:09 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-03 22:15:09 +0000 |
commit | 2d6e9a9f1135bf0c673cb0de48c9bcad1a065993 (patch) | |
tree | 67fc0d66d8bc6c9a744a24cb72f435d598f56360 /src/transport/transport.h | |
parent | ea0217374e9d9fcbdcde0d8b1fabc64e64510269 (diff) | |
download | gnunet-2d6e9a9f1135bf0c673cb0de48c9bcad1a065993.tar.gz gnunet-2d6e9a9f1135bf0c673cb0de48c9bcad1a065993.zip |
stuff
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r-- | src/transport/transport.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h index 343679b2e..237908581 100644 --- a/src/transport/transport.h +++ b/src/transport/transport.h | |||
@@ -182,6 +182,30 @@ struct QuotaSetMessage | |||
182 | 182 | ||
183 | 183 | ||
184 | /** | 184 | /** |
185 | * Message used to ask the transport service to create a connection. | ||
186 | */ | ||
187 | struct TryConnectMessage | ||
188 | { | ||
189 | |||
190 | /** | ||
191 | * Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_TRY_CONNECT | ||
192 | */ | ||
193 | struct GNUNET_MessageHeader header; | ||
194 | |||
195 | /** | ||
196 | * for alignment | ||
197 | */ | ||
198 | uint32_t reserved; | ||
199 | |||
200 | /** | ||
201 | * About which peer are we talking here? | ||
202 | */ | ||
203 | struct GNUNET_PeerIdentity peer; | ||
204 | |||
205 | }; | ||
206 | |||
207 | |||
208 | /** | ||
185 | * Message used to notify the transport API about a message | 209 | * Message used to notify the transport API about a message |
186 | * received from the network. The actual message follows. | 210 | * received from the network. The actual message follows. |
187 | */ | 211 | */ |