List of our services. More...
Data Fields | |
struct ServiceList * | next |
This is a doubly-linked list. More... | |
struct ServiceList * | prev |
This is a doubly-linked list. More... | |
struct ServiceListeningInfo * | listen_head |
Linked list of listen sockets associated with this service. More... | |
struct ServiceListeningInfo * | listen_tail |
Linked list of listen sockets associated with this service. More... | |
char * | name |
Name of the service. More... | |
char * | binary |
Name of the binary used. More... | |
char * | config |
Name of the configuration file used. More... | |
struct GNUNET_SERVICE_Client * | killing_client |
Client to notify upon kill completion (waitpid), NULL if we should simply restart the process. More... | |
uint64_t | killing_client_request_id |
ID of the request that killed the service (for reporting back). More... | |
struct GNUNET_OS_Process * | proc |
Process structure pointer of the child. More... | |
struct GNUNET_TIME_Relative | backoff |
Process exponential backoff time. More... | |
struct GNUNET_TIME_Absolute | last_started_at |
Absolute time at which the process was (re-)started last. More... | |
struct GNUNET_TIME_Absolute | restart_at |
Absolute time at which the process is scheduled to restart in case of death. More... | |
struct GNUNET_TIME_Absolute | killed_at |
Time we asked the service to shut down (used to calculate time it took the service to terminate). More... | |
int | force_start |
Is this service to be started by default (or did a client tell us explicitly to start it)? GNUNET_NO if the service is started only upon 'accept' on a listen socket or possibly explicitly by a client changing the value. More... | |
int | pipe_control |
Should we use pipes to signal this process? (YES for Java binaries and if we are on Windoze). More... | |
int | last_exit_status |
Last exit status of the process. More... | |
List of our services.
Definition at line 110 of file gnunet-service-arm.c.
struct ServiceList* ServiceList::next |
This is a doubly-linked list.
Definition at line 115 of file gnunet-service-arm.c.
Referenced by client_disconnect_cb(), delayed_restart_task(), find_service(), handle_list(), list_count(), maint_child_death(), run(), and shutdown_task().
struct ServiceList* ServiceList::prev |
This is a doubly-linked list.
Definition at line 120 of file gnunet-service-arm.c.
struct ServiceListeningInfo* ServiceList::listen_head |
Linked list of listen sockets associated with this service.
Definition at line 125 of file gnunet-service-arm.c.
Referenced by create_listen_socket(), delayed_restart_task(), free_service(), maint_child_death(), shutdown_task(), and start_process().
struct ServiceListeningInfo* ServiceList::listen_tail |
Linked list of listen sockets associated with this service.
Definition at line 130 of file gnunet-service-arm.c.
Referenced by create_listen_socket(), and shutdown_task().
char* ServiceList::name |
Name of the service.
Definition at line 135 of file gnunet-service-arm.c.
Referenced by create_listen_socket(), delayed_restart_task(), find_service(), free_service(), handle_list(), list_count(), maint_child_death(), setup_service(), shutdown_task(), and start_process().
char* ServiceList::binary |
Name of the binary used.
Definition at line 140 of file gnunet-service-arm.c.
Referenced by free_service(), handle_list(), maint_child_death(), setup_service(), and start_process().
char* ServiceList::config |
Name of the configuration file used.
Definition at line 145 of file gnunet-service-arm.c.
Referenced by free_service(), typescriptdomain.MyHtmlBuilder::init_highlighter(), setup_service(), and start_process().
struct GNUNET_SERVICE_Client* ServiceList::killing_client |
Client to notify upon kill completion (waitpid), NULL if we should simply restart the process.
Definition at line 151 of file gnunet-service-arm.c.
Referenced by handle_list(), handle_stop(), and maint_child_death().
uint64_t ServiceList::killing_client_request_id |
ID of the request that killed the service (for reporting back).
Definition at line 156 of file gnunet-service-arm.c.
Referenced by handle_stop(), and maint_child_death().
struct GNUNET_OS_Process* ServiceList::proc |
Process structure pointer of the child.
Definition at line 161 of file gnunet-service-arm.c.
Referenced by delayed_restart_task(), handle_list(), handle_start(), handle_stop(), maint_child_death(), shutdown_task(), and start_process().
struct GNUNET_TIME_Relative ServiceList::backoff |
Process exponential backoff time.
Definition at line 166 of file gnunet-service-arm.c.
Referenced by maint_child_death(), and setup_service().
struct GNUNET_TIME_Absolute ServiceList::last_started_at |
Absolute time at which the process was (re-)started last.
Definition at line 171 of file gnunet-service-arm.c.
Referenced by handle_list(), and start_process().
struct GNUNET_TIME_Absolute ServiceList::restart_at |
Absolute time at which the process is scheduled to restart in case of death.
Definition at line 176 of file gnunet-service-arm.c.
Referenced by delayed_restart_task(), handle_list(), maint_child_death(), and setup_service().
struct GNUNET_TIME_Absolute ServiceList::killed_at |
Time we asked the service to shut down (used to calculate time it took the service to terminate).
Definition at line 182 of file gnunet-service-arm.c.
Referenced by handle_stop(), maint_child_death(), and shutdown_task().
int ServiceList::force_start |
Is this service to be started by default (or did a client tell us explicitly to start it)? GNUNET_NO if the service is started only upon 'accept' on a listen socket or possibly explicitly by a client changing the value.
Definition at line 189 of file gnunet-service-arm.c.
Referenced by delayed_restart_task(), handle_start(), handle_stop(), run(), and setup_service().
int ServiceList::pipe_control |
Should we use pipes to signal this process? (YES for Java binaries and if we are on Windoze).
Definition at line 195 of file gnunet-service-arm.c.
Referenced by setup_service(), and start_process().
int ServiceList::last_exit_status |
Last exit status of the process.
Definition at line 200 of file gnunet-service-arm.c.
Referenced by handle_list(), and maint_child_death().