aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-04-11 18:33:12 +0000
committerBart Polot <bart@net.in.tum.de>2011-04-11 18:33:12 +0000
commit07880e1e1b81c800680175aac200ccaa5efbb94e (patch)
tree425b92a25066481855eae59401995427503427c4 /src/mesh/mesh.h
parent61c63cf390a7d467f43eb66d1dbee448d8679526 (diff)
downloadgnunet-07880e1e1b81c800680175aac200ccaa5efbb94e.tar.gz
gnunet-07880e1e1b81c800680175aac200ccaa5efbb94e.zip
Unnecessary message eliminated, network byte conversion added
Diffstat (limited to 'src/mesh/mesh.h')
-rw-r--r--src/mesh/mesh.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/mesh/mesh.h b/src/mesh/mesh.h
index 3ef0ec397..a7ce515da 100644
--- a/src/mesh/mesh.h
+++ b/src/mesh/mesh.h
@@ -39,7 +39,7 @@
39 * 39 *
40 * API CALL (GNUNET_MESH_*) MESSAGE USED 40 * API CALL (GNUNET_MESH_*) MESSAGE USED
41 * ------------------------ ------------ 41 * ------------------------ ------------
42 * connect GNUNET_MESH_Connect 42 * connect None (Header + [types])
43 * disconnect None (network level disconnect) 43 * disconnect None (network level disconnect)
44 * 44 *
45 * tunnel_create GNUNET_MESH_TunnelMessage 45 * tunnel_create GNUNET_MESH_TunnelMessage
@@ -71,23 +71,6 @@
71 */ 71 */
72typedef uint32_t MESH_TunnelID; 72typedef uint32_t MESH_TunnelID;
73 73
74
75/**
76 * Message for connecting to the msh service. Specifies the messages the client
77 * is interested in.
78 */
79struct GNUNET_MESH_Connect {
80 /**
81 * Type: GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT
82 * Size: sizeof(struct GNUNET_MESH_Connect) +
83 * messages_subscribed * sizeof (message_type)
84 */
85 struct GNUNET_MessageHeader header;
86
87 /* GNUNET_MESH_ApplicationType messages_subscribed[] */
88};
89
90
91/** 74/**
92 * Message for a client to create and destroy tunnels. 75 * Message for a client to create and destroy tunnels.
93 */ 76 */