aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-09-08 17:25:39 +0000
committerBart Polot <bart@net.in.tum.de>2011-09-08 17:25:39 +0000
commit541d2dc47f919906b1a493f3f66b4afc1cfdc3fb (patch)
tree680d90ce8054cf0a721c7358d7075ff7ecb615b6 /src/mesh/mesh.h
parentfb9f26178c5dfdba919b089ccdab9f1e8f3a2101 (diff)
downloadgnunet-541d2dc47f919906b1a493f3f66b4afc1cfdc3fb.tar.gz
gnunet-541d2dc47f919906b1a493f3f66b4afc1cfdc3fb.zip
Extended test case, fixed bugs, refactored code and connection packet format. DHT still does not return results...
Diffstat (limited to 'src/mesh/mesh.h')
-rw-r--r--src/mesh/mesh.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesh/mesh.h b/src/mesh/mesh.h
index ca615f4e7..62bcf6782 100644
--- a/src/mesh/mesh.h
+++ b/src/mesh/mesh.h
@@ -84,14 +84,14 @@ struct GNUNET_MESH_ClientConnect
84 * Type: GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT 84 * Type: GNUNET_MESSAGE_TYPE_MESH_LOCAL_CONNECT
85 * 85 *
86 * Size: sizeof(struct GNUNET_MESH_ClientConnect) + 86 * Size: sizeof(struct GNUNET_MESH_ClientConnect) +
87 * sizeof(uint16_t) * types + 87 * sizeof(MESH_ApplicationType) * applications +
88 * sizeof(MESH_ApplicationType) * applications 88 * sizeof(uint16_t) * types
89 */ 89 */
90 struct GNUNET_MessageHeader header; 90 struct GNUNET_MessageHeader header;
91 uint16_t types GNUNET_PACKED;
92 uint16_t applications GNUNET_PACKED; 91 uint16_t applications GNUNET_PACKED;
93 /* uint16_t list_types[types] */ 92 uint16_t types GNUNET_PACKED;
94 /* uint16_t list_apps[applications] */ 93 /* uint16_t list_apps[applications] */
94 /* uint16_t list_types[types] */
95}; 95};
96 96
97 97