cadet service; interaction with CORE service More...
#include "gnunet_util_lib.h"
Go to the source code of this file.
Functions | |
void | GCO_init (const struct GNUNET_CONFIGURATION_Handle *c) |
Initialize the CORE subsystem. More... | |
void | GCO_shutdown (void) |
Shut down the CORE subsystem. More... | |
cadet service; interaction with CORE service
All functions in this file should use the prefix GCO (Gnunet Cadet cOre (bottom))
Definition in file gnunet-service-cadet_core.h.
void GCO_init | ( | const struct GNUNET_CONFIGURATION_Handle * | c | ) |
Initialize the CORE subsystem.
c | Configuration. |
Definition at line 1262 of file gnunet-service-cadet_core.c.
References connection_create(), core, core_connect_cb(), core_disconnect_cb(), core_init_cb(), GNUNET_CONFIGURATION_get_value_number(), GNUNET_CONTAINER_heap_create(), GNUNET_CONTAINER_HEAP_ORDER_MIN, GNUNET_CONTAINER_multishortmap_create(), GNUNET_CORE_connect(), GNUNET_MESSAGE_TYPE_CADET_CONNECTION_BROKEN, GNUNET_MESSAGE_TYPE_CADET_CONNECTION_CREATE, GNUNET_MESSAGE_TYPE_CADET_CONNECTION_CREATE_ACK, GNUNET_MESSAGE_TYPE_CADET_CONNECTION_DESTROY, GNUNET_MESSAGE_TYPE_CADET_TUNNEL_ENCRYPTED, GNUNET_MESSAGE_TYPE_CADET_TUNNEL_KX, GNUNET_MESSAGE_TYPE_CADET_TUNNEL_KX_AUTH, GNUNET_MQ_handler_end, GNUNET_MQ_hd_fixed_size, GNUNET_MQ_hd_var_size, GNUNET_NO, GNUNET_OK, handlers, max_buffers, max_routes, route_heap, and routes.
Referenced by run().
void GCO_shutdown | ( | void | ) |
Shut down the CORE subsystem.
Definition at line 1317 of file gnunet-service-cadet_core.c.
References core, GNUNET_assert, GNUNET_CONTAINER_heap_destroy(), GNUNET_CONTAINER_multishortmap_destroy(), GNUNET_CONTAINER_multishortmap_size(), GNUNET_CORE_disconnect(), GNUNET_SCHEDULER_cancel(), route_heap, routes, and timeout_task.
Referenced by shutdown_task().