Collaboration diagram for Bio-SPHERE Daemon:
![]() |
Modules | |
XML Subsystem | |
Module Subsystem | |
Node Subsystem | |
Configuration Subsystem | |
Client Handler Subsystem | |
Functions | |
static void | cleanup (void) |
static bs_status | init_general (void) |
int | main (int argc, const char *argv[]) |
Variables | |
apr_pool_t * | global_mp |
static void cleanup | ( | void | ) | [static] |
Cleanup global structures and release memory.
Definition at line 70 of file main.c.
References global_mp.
Referenced by init_general().
static bs_status init_general | ( | void | ) | [static] |
int main | ( | int | argc, | |
const char * | argv[] | |||
) |
Main entry point of the Bio-SPHERE daemon. Initialize and start the loop listening for incoming service requests.
argc | Number of provided cli arguments | |
argv | The actual arguments |
Definition at line 96 of file main.c.
References BS_ERROR, BS_INIT_ERROR_LISTENER, BS_INIT_ERROR_MODULE, BS_INIT_ERROR_OPTION, BS_INIT_ERROR_SERVICE, BS_OK, global_mp, init_general(), init_module(), init_mutexes(), init_node(), init_options(), init_service(), init_threadsystem(), and lets_go_threaded().
Here is the call graph for this function:
apr_pool_t* global_mp |
The global memory pool, used by parts of the system which do not want to use their (temporary) own memory pools for allocation.
Definition at line 64 of file main.c.
Referenced by add_node(), add_service(), cleanup(), handle_service_request(), init_general(), lets_go_threaded(), load_module(), and main().