aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-service-testbed_barriers.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-09-03 07:42:26 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-09-03 07:42:26 +0000
commit9b8e106ae9b8187de0092046d2ceaaf4dcd4852b (patch)
tree09e192ca563555dafd19987a54793b3434030d45 /src/testbed/gnunet-service-testbed_barriers.h
parent185a7fb990f6d5cc92d24ad9a7a5b9d7e2d4eef6 (diff)
downloadgnunet-9b8e106ae9b8187de0092046d2ceaaf4dcd4852b.tar.gz
gnunet-9b8e106ae9b8187de0092046d2ceaaf4dcd4852b.zip
- fix compile
Diffstat (limited to 'src/testbed/gnunet-service-testbed_barriers.h')
-rw-r--r--src/testbed/gnunet-service-testbed_barriers.h65
1 files changed, 65 insertions, 0 deletions
diff --git a/src/testbed/gnunet-service-testbed_barriers.h b/src/testbed/gnunet-service-testbed_barriers.h
new file mode 100644
index 000000000..a58ff33b8
--- /dev/null
+++ b/src/testbed/gnunet-service-testbed_barriers.h
@@ -0,0 +1,65 @@
1/*
2 This file is part of GNUnet.
3 (C) 2008--2013 Christian Grothoff (and other contributing authors)
4
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.
9
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.
14
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.
19*/
20
21/**
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>
25 */
26
27#ifndef GNUNET_SERVER_TESTBED_BARRIERS_H_
28#define GNUNET_SERVER_TESTBED_BARRIERS_H_
29
30/**
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.
34 *
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
37 *
38 * @param cls NULL
39 * @param client identification of the client
40 * @param message the actual message
41 */
42void
43GST_handle_barrier_init (void *cls, struct GNUNET_SERVER_Client *client,
44 const struct GNUNET_MessageHeader *message);
45
46
47/**
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.
51 *
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
54 *
55 * @param cls NULL
56 * @param client identification of the client
57 * @param message the actual message
58 */
59void
60GST_handle_barrier_cancel (void *cls, struct GNUNET_SERVER_Client *client,
61 const struct GNUNET_MessageHeader *message);
62
63#endif /* GNUNET_SERVER_TESTBED_BARRIERS_H_ */
64
65/* end of gnunet-service-testbed_barriers.h */