diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-09-02 12:38:18 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-09-02 12:38:18 +0000 |
commit | 88590a7fd73dde7fcede837cf631a8020fefc9de (patch) | |
tree | 3b581a6b5d0b2ee75d11b4645aafa1a70aa99399 /src/include | |
parent | d12aa71a4d8b31475fdd3b3bd60ad947f995dc49 (diff) | |
download | gnunet-88590a7fd73dde7fcede837cf631a8020fefc9de.tar.gz gnunet-88590a7fd73dde7fcede837cf631a8020fefc9de.zip |
Added tunnel destroy, changed message types in client <-> service protocol
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_protocols.h | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 5f3ab25ce..6d4f7265b 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -876,7 +876,6 @@ extern "C" | |||
876 | 876 | ||
877 | /** | 877 | /** |
878 | * Transport data back in the mesh (end->origin) | 878 | * Transport data back in the mesh (end->origin) |
879 | * (not sure if this is the right way, should be some other solution) | ||
880 | */ | 879 | */ |
881 | #define GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN 262 | 880 | #define GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN 262 |
882 | 881 | ||
@@ -908,38 +907,22 @@ extern "C" | |||
908 | /** | 907 | /** |
909 | * Ask the mesh service to add a peer to an existing tunnel | 908 | * Ask the mesh service to add a peer to an existing tunnel |
910 | */ | 909 | */ |
911 | #define GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT_PEER_ADD 275 | 910 | #define GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_ADD 275 |
912 | 911 | ||
913 | /** | 912 | /** |
914 | * Ask the mesh service to remove a peer from a tunnel | 913 | * Ask the mesh service to remove a peer from a tunnel |
915 | */ | 914 | */ |
916 | #define GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT_PEER_DEL 276 | 915 | #define GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_DEL 276 |
917 | 916 | ||
918 | /** | 917 | /** |
919 | * Ask the mesh service to add a peer offering a service to an existing tunnel | 918 | * Ask the mesh service to add a peer offering a service to an existing tunnel |
920 | */ | 919 | */ |
921 | #define GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT_PEER_BY_TYPE 277 | 920 | #define GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_ADD_BY_TYPE 277 |
922 | |||
923 | /** | ||
924 | * Ask the mesh service to cancel a peer connection request | ||
925 | */ | ||
926 | #define GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT_PEER_CANCEL 278 | ||
927 | |||
928 | /** | ||
929 | * Notify a mesh client that a peer has connected to a tunnel | ||
930 | */ | ||
931 | #define GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_CONNECTED 279 | ||
932 | |||
933 | /** | ||
934 | * Notify a mesh client that a peer has disconnected from a tunnel | ||
935 | */ | ||
936 | #define GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_DISCONNECTED 280 | ||
937 | |||
938 | 921 | ||
939 | /** | 922 | /** |
940 | * 640kb should be enough for everybody | 923 | * 640kb should be enough for everybody |
941 | */ | 924 | */ |
942 | #define GNUNET_MESSAGE_TYPE_MESH_RESERVE_END 288 | 925 | #define GNUNET_MESSAGE_TYPE_MESH_RESERVE_END 288 |
943 | 926 | ||
944 | 927 | ||
945 | 928 | ||