aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-05-19 14:13:50 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-05-19 14:13:50 +0000
commitc7a70aa21e0f0a0325f8b2c743713d6fb1f2fc0a (patch)
tree92e585084faca5c0a9b0523874e4b7d839a4b6f3 /src/transport/transport.h
parent819dd2547e8d11d094fe83a39667559e54e181c6 (diff)
downloadgnunet-c7a70aa21e0f0a0325f8b2c743713d6fb1f2fc0a.tar.gz
gnunet-c7a70aa21e0f0a0325f8b2c743713d6fb1f2fc0a.zip
new api
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r--src/transport/transport.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h
index 7aa6c06a9..68c685c29 100644
--- a/src/transport/transport.h
+++ b/src/transport/transport.h
@@ -276,6 +276,32 @@ struct SendOkMessage
276 276
277}; 277};
278 278
279/**
280 * Message used to notify the transport API about an address to string
281 * conversion. Message is followed by the string with length strlen
282 */
283struct AddressToStringResultMessage
284{
285
286 /**
287 * Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_OK
288 */
289 struct GNUNET_MessageHeader header;
290
291 /**
292 * GNUNET_OK if the conversion succeeded,
293 * GNUNET_SYSERR if it failed
294 */
295 uint32_t res GNUNET_PACKED;
296
297 /**
298 * Length of the following string
299 */
300 uint32_t addr_len GNUNET_PACKED;
301};
302
303
304
279 305
280/** 306/**
281 * Message used to notify the transport service about a message 307 * Message used to notify the transport service about a message