GNUnet  0.10.x
gnunet-service-testbed_links.h
Go to the documentation of this file.
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 
32 struct Neighbour;
33 
34 
38 struct Slave {
43 
48 
54 
59 
64 
69 
74 
78  uint32_t host_id;
79 };
80 
84 extern struct Slave **GST_slave_list;
85 
89 extern unsigned int GST_slave_list_size;
90 
91 
95 void
97 
98 
106 struct Neighbour *
107 GST_get_neighbour(uint32_t id);
108 
109 
113 void
114 GST_free_nccq(void);
115 
116 
122 
123 
130 typedef void
133 
134 
149  void *cb_cls);
150 
151 
157 void
159 
160 
168 void
170 
171 
177 struct Neighbour *
179 
180 
187 void
188 handle_link_controllers(void *cls,
190 
191 
198 void
200 
201 
205 void
struct GNUNET_CONTAINER_MultiHashMap * reghost_map
Hashmap to hold Registered host contexts.
A connected controller which is not our child.
struct GNUNET_MessageHeader * msg
Definition: 005.c:2
Handle to interact with a GNUnet testbed controller.
Definition: testbed_api.h:191
Notification context to be used to notify when connection to the neighbour&#39;s controller is opened...
Structure representing a connected(directly-linked) controller.
struct GNUNET_TESTBED_HostRegistrationHandle * rhandle
The current host registration handle.
Opaque handle to a host running experiments managed by the testing framework.
Handle for controller process.
Context information used while linking controllers.
Internal representation of the hash map.
static struct GNUNET_ARM_Handle * h
Connection with ARM.
Definition: gnunet-arm.c:94
Handle to a client that is connected to a service.
Definition: service.c:246
GST_NeigbourConnectNotifyCallback cb
The notification callback to call when we are connect to neighbour.
void * cb_cls
The closure for the above callback.
A DLL of host registrations to be made.
struct HostRegistration * hr_dll_tail
Tail of the host registration DLL.
struct HostRegistration * hr_dll_head
Head of the host registration DLL.
struct GNUNET_TESTBED_ControllerProc * controller_proc
The controller process handle if we had started the controller.
struct Neighbour * n
The neighbour.
struct LinkControllersContext * lcc
handle to lcc which is associated with this slave startup.
uint32_t host_id
The id of the host this controller is running on.
struct GNUNET_TESTBED_Controller * controller
The controller handle.
handle for host registration
Client notifies controller that it should delegate requests for a particular client to a particular s...
Definition: testbed.h:133