struct GNUNET_MessageHeader * msg
static struct GNUNET_ARM_Handle * h
Connection with ARM.
struct NeighbourConnectNotification * GST_neighbour_get_connection(struct Neighbour *n, GST_NeighbourConnectNotifyCallback cb, void *cb_cls)
Try to open a connection to the given neighbour.
void GST_neighbour_get_connection_cancel(struct NeighbourConnectNotification *h)
Cancel the request for opening a connection to the neighbour.
void GST_slave_list_clear(void)
Cleans up the slave list.
struct Neighbour * GST_get_neighbour(uint32_t id)
Get a neighbour from the neighbour list.
struct Neighbour * GST_create_neighbour(struct GNUNET_TESTBED_Host *host)
Function to create a neighbour and add it into the neighbour list.
void GST_neighbour_list_clean(void)
Cleans up the neighbour list.
void(* GST_NeighbourConnectNotifyCallback)(void *cls, struct GNUNET_TESTBED_Controller *controller)
The notification callback to call when we are connect to neighbour.
unsigned int GST_slave_list_size
The size of directly linked neighbours list.
void handle_link_controllers(void *cls, const struct GNUNET_TESTBED_ControllerLinkRequest *msg)
Message handler for #GNUNET_MESSAGE_TYPE_TESTBED_LCONTROLLERS message.
void GST_free_nccq(void)
Function to cleanup the neighbour connect contexts.
void GST_neighbour_release_connection(struct Neighbour *n)
Release the connection to the neighbour.
struct Slave ** GST_slave_list
A list of directly linked neighbours.
void GST_link_notify_disconnect(struct GNUNET_SERVICE_Client *client)
Clean up client handle if we stored any via handle_link_controllers(), the given client disconnected.
Internal representation of the hash map.
Handle to a client that is connected to a service.
Client notifies controller that it should delegate requests for a particular client to a particular s...
Handle for controller process.
Handle to interact with a GNUnet testbed controller.
handle for host registration
Opaque handle to a host running experiments managed by the testing framework.
A DLL of host registrations to be made.
Context information used while linking controllers.
Notification context to be used to notify when connection to the neighbour's controller is opened.
GST_NeighbourConnectNotifyCallback cb
The notification callback to call when we are connect to neighbour.
struct Neighbour * n
The neighbour.
void * cb_cls
The closure for the above callback.
A connected controller which is not our child.
Structure representing a connected(directly-linked) controller.
uint32_t host_id
The id of the host this controller is running on.
struct HostRegistration * hr_dll_tail
Tail of the host registration DLL.
struct GNUNET_TESTBED_Controller * controller
The controller handle.
struct HostRegistration * hr_dll_head
Head of the host registration DLL.
struct GNUNET_TESTBED_HostRegistrationHandle * rhandle
The current host registration handle.
struct GNUNET_TESTBED_ControllerProc * controller_proc
The controller process handle if we had started the controller.
struct GNUNET_CONTAINER_MultiHashMap * reghost_map
Hashmap to hold Registered host contexts.
struct LinkControllersContext * lcc
handle to lcc which is associated with this slave startup.