Bio-SPHERE Daemon

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

Function Documentation

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]

General initializations, such as APR initialization.

Definition at line 81 of file main.c.

References BS_OK, cleanup(), and global_mp.

Referenced by main().

Here is the call graph for this function:

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.

Parameters:
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:


Variable Documentation

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().


Generated on Tue Jul 17 09:51:27 2007 for Bio-SPHERE by  doxygen 1.5.1