diff options
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r-- | src/transport/transport.h | 26 |
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 | */ | ||
283 | struct 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 |