|
const struct GNUNET_CONFIGURATION_Handle * | cfg |
| Our configuration. More...
|
|
const struct GNUNET_OS_ProjectData * | pd |
| Project data of this service. More...
|
|
const char * | service_name |
| Name of our service. More...
|
|
GNUNET_SERVICE_InitCallback | service_init_cb |
| Main service-specific task to run. More...
|
|
GNUNET_SERVICE_ConnectHandler | connect_cb |
| Function to call when clients connect. More...
|
|
GNUNET_SERVICE_DisconnectHandler | disconnect_cb |
| Function to call when clients disconnect / are disconnected. More...
|
|
void * | cb_cls |
| Closure for service_init_cb, connect_cb, disconnect_cb. More...
|
|
struct ServiceListenContext * | slc_head |
| DLL of listen sockets used to accept new connections. More...
|
|
struct ServiceListenContext * | slc_tail |
| DLL of listen sockets used to accept new connections. More...
|
|
struct GNUNET_SERVICE_Client * | clients_head |
| Our clients, kept in a DLL. More...
|
|
struct GNUNET_SERVICE_Client * | clients_tail |
| Our clients, kept in a DLL. More...
|
|
struct GNUNET_MQ_MessageHandler * | handlers |
| Message handlers to use for all clients. More...
|
|
void * | task_cls |
| Closure for task. More...
|
|
struct GNUNET_STRINGS_IPv4NetworkPolicy * | v4_denied |
| IPv4 addresses that are not allowed to connect. More...
|
|
struct GNUNET_STRINGS_IPv6NetworkPolicy * | v6_denied |
| IPv6 addresses that are not allowed to connect. More...
|
|
struct GNUNET_STRINGS_IPv4NetworkPolicy * | v4_allowed |
| IPv4 addresses that are allowed to connect (if not set, all are allowed). More...
|
|
struct GNUNET_STRINGS_IPv6NetworkPolicy * | v6_allowed |
| IPv6 addresses that are allowed to connect (if not set, all are allowed). More...
|
|
int | match_uid |
| Do we require a matching UID for UNIX domain socket connections? GNUNET_NO means that the UID does not have to match (however, match_gid may still impose other access control checks). More...
|
|
int | match_gid |
| Do we require a matching GID for UNIX domain socket connections? Ignored if match_uid is GNUNET_YES. More...
|
|
enum SuspendReason | suspend_state |
| Are we suspended, and if so, why? More...
|
|
enum GNUNET_SERVICE_Options | options |
| Our options. More...
|
|
int | ready_confirm_fd |
| If we are daemonizing, this FD is set to the pipe to the parent. More...
|
|
bool | require_found |
| If true, consider unknown message types an error where the client is disconnected. More...
|
|
Handle to a service.
Definition at line 115 of file service.c.