libmcs
0.6.0
|
#include "libmcs/mcs.h"
Functions | |
void | mcs_init (void) |
Initialises the mcs library classes and loads the backend plugins. More... | |
void | mcs_fini (void) |
Releases resources used by the mcs backend plugins. More... | |
char * | mcs_version (void) |
Retrieves the version of the mcs implementation. More... | |
Variables | |
mowgli_queue_t * | mcs_backends_lst |
A list of registered backends. More... | |
void mcs_fini | ( | void | ) |
Releases resources used by the mcs backend plugins.
This function unloads and releases resources used by the mcs backend plugins.
References mcs_backends_lst, and mcs_unload_plugins().
void mcs_init | ( | void | ) |
Initialises the mcs library classes and loads the backend plugins.
mcs_init() initialises mowgli.object, followed by all of the mcs library classes which extend mowgli.object to provide an extensible configuration management system.
Once the library mowgli.object classes have been initialised, the mcs plugin directory is iterated and various backend plugins are loaded.
References mcs_handle_class_init(), and mcs_load_plugins().
char* mcs_version | ( | void | ) |
Retrieves the version of the mcs implementation.
This function is useful for displaying the version of the system implementation.
References PACKAGE_NAME, and PACKAGE_VERSION.
mowgli_queue_t* mcs_backends_lst |
A list of registered backends.
This is a list of registered backends. It is not part of the public API.
Referenced by mcs_fini(), and mcs_new().