diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-02-21 11:32:53 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-02-21 11:32:53 +0000 |
commit | a250da032ba65252d9da96e8429b22e265c69980 (patch) | |
tree | 89eb6410952e30bd6b37c0a827be4a6ec6a3e839 /src/testbed/testbed.h | |
parent | eb9d17abd52471e8cd3dcb45bbd4b93231da23c3 (diff) | |
download | gnunet-a250da032ba65252d9da96e8429b22e265c69980.tar.gz gnunet-a250da032ba65252d9da96e8429b22e265c69980.zip |
M testbed/testbed.h
naming consistency
include uncompressed config size
M testbed/testbed_api_hosts.c
pulled host registration functions from testbed_api.c
M testbed/testbed_api_hosts.h
export handler to handle ADD_HOST confirmation messages
M testbed/gnunet-service-testbed.c
parse the modified ADD_HOST message
M testbed/testbed_api.c
lose host registration code
extract configuration from ADD_HOST messages
M testbed/testbed_api.h
include hacks
Diffstat (limited to 'src/testbed/testbed.h')
-rw-r--r-- | src/testbed/testbed.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/testbed/testbed.h b/src/testbed/testbed.h index 880a44864..3bed4ed56 100644 --- a/src/testbed/testbed.h +++ b/src/testbed/testbed.h | |||
@@ -85,7 +85,7 @@ struct GNUNET_TESTBED_AddHostMessage | |||
85 | * 0 to use no user name; otherwise 'strlen (username)', | 85 | * 0 to use no user name; otherwise 'strlen (username)', |
86 | * excluding 0-termination! | 86 | * excluding 0-termination! |
87 | */ | 87 | */ |
88 | uint16_t user_name_length GNUNET_PACKED; | 88 | uint16_t username_length GNUNET_PACKED; |
89 | 89 | ||
90 | /** | 90 | /** |
91 | * Number of bytes in the host name (excluding 0-termination) that follows the | 91 | * Number of bytes in the host name (excluding 0-termination) that follows the |
@@ -93,6 +93,11 @@ struct GNUNET_TESTBED_AddHostMessage | |||
93 | */ | 93 | */ |
94 | uint16_t hostname_length GNUNET_PACKED; | 94 | uint16_t hostname_length GNUNET_PACKED; |
95 | 95 | ||
96 | /** | ||
97 | * The length of the uncompressed configuration | ||
98 | */ | ||
99 | uint16_t config_size GNUNET_PACKED; | ||
100 | |||
96 | /* followed by non 0-terminated user name */ | 101 | /* followed by non 0-terminated user name */ |
97 | 102 | ||
98 | /* followed by non 0-terminated host name */ | 103 | /* followed by non 0-terminated host name */ |