2 This file is part of GNUnet.
3 (C) 2008--2013 Christian Grothoff (and other contributing authors)
5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published
7 by the Free Software Foundation; either version 3, or (at your
8 option) any later version.
10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with GNUnet; see the file COPYING. If not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
22 * @file testbed/gnunet-service-testbed_barriers.h
23 * @brief Interface for the barrier initialisation handler routine
24 * @author Sree Harsha Totakura <sreeharsha@totakura.in>
27 #ifndef GNUNET_SERVER_TESTBED_BARRIERS_H_
28 #define GNUNET_SERVER_TESTBED_BARRIERS_H_
31 * Message handler for GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_INIT messages. This
32 * message should always come from a parent controller or the testbed API if we
33 * are the root controller.
35 * This handler is queued in the main service and will handle the messages sent
36 * either from the testbed driver or from a high level controller
39 * @param client identification of the client
40 * @param message the actual message
43 GST_handle_barrier_init (void *cls, struct GNUNET_SERVER_Client *client,
44 const struct GNUNET_MessageHeader *message);
48 * Message handler for GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_CANCEL messages. This
49 * message should always come from a parent controller or the testbed API if we
50 * are the root controller.
52 * This handler is queued in the main service and will handle the messages sent
53 * either from the testbed driver or from a high level controller
56 * @param client identification of the client
57 * @param message the actual message
60 GST_handle_barrier_cancel (void *cls, struct GNUNET_SERVER_Client *client,
61 const struct GNUNET_MessageHeader *message);
63 #endif /* GNUNET_SERVER_TESTBED_BARRIERS_H_ */
65 /* end of gnunet-service-testbed_barriers.h */