diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-07 19:25:35 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-07 19:25:35 +0100 |
commit | 59e432288a4d83a371a9a3efaba2376b44873473 (patch) | |
tree | f89957b703d69b55b079138b99a091841f411018 /src/transport/transport.h | |
parent | 4103a2bf2aef3fb3a6059a99e0a941bc35406cfb (diff) | |
download | gnunet-59e432288a4d83a371a9a3efaba2376b44873473.tar.gz gnunet-59e432288a4d83a371a9a3efaba2376b44873473.zip |
get new libgnunettransportcommunicator to build
Diffstat (limited to 'src/transport/transport.h')
-rw-r--r-- | src/transport/transport.h | 26 |
1 files changed, 22 insertions, 4 deletions
diff --git a/src/transport/transport.h b/src/transport/transport.h index e68536bcc..5662d6c4d 100644 --- a/src/transport/transport.h +++ b/src/transport/transport.h | |||
@@ -769,7 +769,7 @@ struct GNUNET_TRANSPORT_AddQueueMessage | |||
769 | { | 769 | { |
770 | 770 | ||
771 | /** | 771 | /** |
772 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_ADD_QUEUE. | 772 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_SETUP. |
773 | */ | 773 | */ |
774 | struct GNUNET_MessageHeader header; | 774 | struct GNUNET_MessageHeader header; |
775 | 775 | ||
@@ -799,7 +799,7 @@ struct GNUNET_TRANSPORT_DelQueueMessage | |||
799 | { | 799 | { |
800 | 800 | ||
801 | /** | 801 | /** |
802 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_DEL_QUEUE. | 802 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_TEARDOWN. |
803 | */ | 803 | */ |
804 | struct GNUNET_MessageHeader header; | 804 | struct GNUNET_MessageHeader header; |
805 | 805 | ||
@@ -828,9 +828,9 @@ struct GNUNET_TRANSPORT_CreateQueue | |||
828 | struct GNUNET_MessageHeader header; | 828 | struct GNUNET_MessageHeader header; |
829 | 829 | ||
830 | /** | 830 | /** |
831 | * Always zero. | 831 | * Unique ID for the request. |
832 | */ | 832 | */ |
833 | uint32_t reserved GNUNET_PACKED; | 833 | uint32_t request_id GNUNET_PACKED; |
834 | 834 | ||
835 | /** | 835 | /** |
836 | * Receiver that can be addressed via the queue. | 836 | * Receiver that can be addressed via the queue. |
@@ -842,6 +842,24 @@ struct GNUNET_TRANSPORT_CreateQueue | |||
842 | 842 | ||
843 | 843 | ||
844 | /** | 844 | /** |
845 | * Transport tells communicator that it wants a new queue. | ||
846 | */ | ||
847 | struct GNUNET_TRANSPORT_CreateQueueResponse | ||
848 | { | ||
849 | |||
850 | /** | ||
851 | * Type will be #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_CREATE_OK or #GNUNET_MESSAGE_TYPE_TRANSPORT_QUEUE_CREATE_FAIL. | ||
852 | */ | ||
853 | struct GNUNET_MessageHeader header; | ||
854 | |||
855 | /** | ||
856 | * Unique ID for the request. | ||
857 | */ | ||
858 | uint32_t request_id GNUNET_PACKED; | ||
859 | }; | ||
860 | |||
861 | |||
862 | /** | ||
845 | * Inform communicator about transport's desire to send a message. | 863 | * Inform communicator about transport's desire to send a message. |
846 | */ | 864 | */ |
847 | struct GNUNET_TRANSPORT_SendMessageTo | 865 | struct GNUNET_TRANSPORT_SendMessageTo |