diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-06-29 15:26:52 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-06-29 15:26:52 +0000 |
commit | b510c934e38ef0eb4ea959af5be94f4490ddb667 (patch) | |
tree | 810e8209ce9ce099421263eb498fc844816ecda0 /src/testbed/testbed_api_hosts.h | |
parent | dcd48df648a5c8bf0a7c01ae30d292868ff49cb7 (diff) | |
download | gnunet-b510c934e38ef0eb4ea959af5be94f4490ddb667.tar.gz gnunet-b510c934e38ef0eb4ea959af5be94f4490ddb667.zip |
-host registration with controller
Diffstat (limited to 'src/testbed/testbed_api_hosts.h')
-rw-r--r-- | src/testbed/testbed_api_hosts.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/testbed/testbed_api_hosts.h b/src/testbed/testbed_api_hosts.h index db7392b49..c941608f4 100644 --- a/src/testbed/testbed_api_hosts.h +++ b/src/testbed/testbed_api_hosts.h | |||
@@ -129,19 +129,25 @@ GNUNET_TESTBED_host_stop_ (struct GNUNET_TESTBED_HelperHandle *handle); | |||
129 | * Marks a host as registered with a controller | 129 | * Marks a host as registered with a controller |
130 | * | 130 | * |
131 | * @param host the host to mark | 131 | * @param host the host to mark |
132 | * @param controller the controller at which this host is registered | ||
132 | */ | 133 | */ |
133 | void | 134 | void |
134 | GNUNET_TESTBED_mark_host_as_registered_ (struct GNUNET_TESTBED_Host *host); | 135 | GNUNET_TESTBED_mark_host_as_registered_ (struct GNUNET_TESTBED_Host *host, |
136 | const struct GNUNET_TESTBED_Controller | ||
137 | *controller); | ||
135 | 138 | ||
136 | 139 | ||
137 | /** | 140 | /** |
138 | * Checks whether a host has been registered | 141 | * Checks whether a host has been registered with the given controller |
139 | * | 142 | * |
140 | * @param host the host to check | 143 | * @param host the host to check |
144 | * @param controller the controller at which host's registration is checked | ||
141 | * @return GNUNET_YES if registered; GNUNET_NO if not | 145 | * @return GNUNET_YES if registered; GNUNET_NO if not |
142 | */ | 146 | */ |
143 | int | 147 | int |
144 | GNUNET_TESTBED_is_host_registered_ (const struct GNUNET_TESTBED_Host *host); | 148 | GNUNET_TESTBED_is_host_registered_ (const struct GNUNET_TESTBED_Host *host, |
149 | const struct GNUNET_TESTBED_Controller | ||
150 | *controller); | ||
145 | 151 | ||
146 | #endif | 152 | #endif |
147 | /* end of testbed_api_hosts.h */ | 153 | /* end of testbed_api_hosts.h */ |