aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_hosts.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-06-29 15:26:52 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-06-29 15:26:52 +0000
commitb510c934e38ef0eb4ea959af5be94f4490ddb667 (patch)
tree810e8209ce9ce099421263eb498fc844816ecda0 /src/testbed/testbed_api_hosts.h
parentdcd48df648a5c8bf0a7c01ae30d292868ff49cb7 (diff)
downloadgnunet-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.h12
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 */
133void 134void
134GNUNET_TESTBED_mark_host_as_registered_ (struct GNUNET_TESTBED_Host *host); 135GNUNET_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 */
143int 147int
144GNUNET_TESTBED_is_host_registered_ (const struct GNUNET_TESTBED_Host *host); 148GNUNET_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 */