From 5e1efe185cf484018f53dd33d64e546ac042fdee Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Fri, 30 Aug 2013 14:55:13 +0000 Subject: - towards testbed barriers --- src/testbed/testbed_api.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/testbed/testbed_api.h') diff --git a/src/testbed/testbed_api.h b/src/testbed/testbed_api.h index dbeea9243..f658c08dd 100644 --- a/src/testbed/testbed_api.h +++ b/src/testbed/testbed_api.h @@ -496,6 +496,22 @@ GNUNET_TESTBED_controller_link_ (void *op_cls, *slave_cfg, int is_subordinate); +/** + * Handler for GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_STATUS messages. This + * function is defined in @file testbed_api_barriers.c + * + * @param c the controller handle to determine the connection this message + * belongs to + * @param msg the barrier status message + * @return GNUNET_OK to keep the connection active; GNUNET_SYSERR to tear it + * down signalling an error + */ +int +GNUNET_TESTBED_handle_barrier_status_ (struct GNUNET_TESTBED_Controller *c, + const struct GNUNET_TESTBED_BarrierStatus + *msg); + + #endif -- cgit v1.2.3