diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-10-13 18:19:48 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-10-13 18:19:48 +0200 |
commit | 21c4b14e7e9a5f113b2c190b0223ca95074125b1 (patch) | |
tree | cb3105228f1ba52bea81c74caa642b26bc6c297e /src/testbed/gnunet-service-testbed_barriers.h | |
parent | f5c99c11e752667d6c07d16568ae16a782b48e4c (diff) | |
download | gnunet-21c4b14e7e9a5f113b2c190b0223ca95074125b1.tar.gz gnunet-21c4b14e7e9a5f113b2c190b0223ca95074125b1.zip |
Delete more subsystems not required after tng
Diffstat (limited to 'src/testbed/gnunet-service-testbed_barriers.h')
-rw-r--r-- | src/testbed/gnunet-service-testbed_barriers.h | 128 |
1 files changed, 0 insertions, 128 deletions
diff --git a/src/testbed/gnunet-service-testbed_barriers.h b/src/testbed/gnunet-service-testbed_barriers.h deleted file mode 100644 index aa2718777..000000000 --- a/src/testbed/gnunet-service-testbed_barriers.h +++ /dev/null | |||
@@ -1,128 +0,0 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet. | ||
3 | Copyright (C) 2008--2013 GNUnet e.V. | ||
4 | |||
5 | GNUnet is free software: you can redistribute it and/or modify it | ||
6 | under the terms of the GNU Affero General Public License as published | ||
7 | by the Free Software Foundation, either version 3 of the License, | ||
8 | or (at your 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 | Affero General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Affero General Public License | ||
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | SPDX-License-Identifier: AGPL3.0-or-later | ||
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 | * Function to initialise barriers component | ||
32 | * | ||
33 | * @param cfg the configuration to use for initialisation | ||
34 | */ | ||
35 | void | ||
36 | GST_barriers_init (struct GNUNET_CONFIGURATION_Handle *cfg); | ||
37 | |||
38 | |||
39 | /** | ||
40 | * Function to stop the barrier service | ||
41 | */ | ||
42 | void | ||
43 | GST_barriers_destroy (void); | ||
44 | |||
45 | |||
46 | /** | ||
47 | * Check #GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_INIT messages. | ||
48 | * | ||
49 | * @param cls identification of the client | ||
50 | * @param msg the actual message | ||
51 | * @return #GNUNET_OK if @a msg is well-formed | ||
52 | */ | ||
53 | int | ||
54 | check_barrier_init (void *cls, | ||
55 | const struct GNUNET_TESTBED_BarrierInit *msg); | ||
56 | |||
57 | |||
58 | /** | ||
59 | * Message handler for #GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_INIT messages. This | ||
60 | * message should always come from a parent controller or the testbed API if we | ||
61 | * are the root controller. | ||
62 | * | ||
63 | * This handler is queued in the main service and will handle the messages sent | ||
64 | * either from the testbed driver or from a high level controller | ||
65 | * | ||
66 | * @param cls identification of the client | ||
67 | * @param msg the actual message | ||
68 | */ | ||
69 | void | ||
70 | handle_barrier_init (void *cls, | ||
71 | const struct GNUNET_TESTBED_BarrierInit *msg); | ||
72 | |||
73 | |||
74 | /** | ||
75 | * Check #GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_CANCEL messages. | ||
76 | * | ||
77 | * @param cls identification of the client | ||
78 | * @param msg the actual message | ||
79 | * @return #GNUNET_OK if @a msg is well-formed | ||
80 | */ | ||
81 | int | ||
82 | check_barrier_cancel (void *cls, | ||
83 | const struct GNUNET_TESTBED_BarrierCancel *msg); | ||
84 | |||
85 | |||
86 | /** | ||
87 | * Message handler for #GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_CANCEL messages. This | ||
88 | * message should always come from a parent controller or the testbed API if we | ||
89 | * are the root controller. | ||
90 | * | ||
91 | * This handler is queued in the main service and will handle the messages sent | ||
92 | * either from the testbed driver or from a high level controller | ||
93 | * | ||
94 | * @param cls identification of the client | ||
95 | * @param msg the actual message | ||
96 | */ | ||
97 | void | ||
98 | handle_barrier_cancel (void *cls, | ||
99 | const struct GNUNET_TESTBED_BarrierCancel *msg); | ||
100 | |||
101 | |||
102 | /** | ||
103 | * Check #GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_STATUS messages. | ||
104 | * | ||
105 | * @param cls identification of the client | ||
106 | * @param msg the actual message | ||
107 | * @return #GNUNET_OK if @a msg is well-formed | ||
108 | */ | ||
109 | int | ||
110 | check_barrier_status (void *cls, | ||
111 | const struct GNUNET_TESTBED_BarrierStatusMsg *msg); | ||
112 | |||
113 | |||
114 | /** | ||
115 | * Message handler for #GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_STATUS messages. | ||
116 | * This handler is queued in the main service and will handle the messages sent | ||
117 | * either from the testbed driver or from a high level controller | ||
118 | * | ||
119 | * @param cls identification of the client | ||
120 | * @param msg the actual message | ||
121 | */ | ||
122 | void | ||
123 | handle_barrier_status (void *cls, | ||
124 | const struct GNUNET_TESTBED_BarrierStatusMsg *msg); | ||
125 | |||
126 | #endif /* GNUNET_SERVER_TESTBED_BARRIERS_H_ */ | ||
127 | |||
128 | /* end of gnunet-service-testbed_barriers.h */ | ||