#include "module.h"
#include "mutex.h"
#include "options.h"
#include "service.h"
#include "settings.h"
#include <biosphere_module.h>
#include <list.h>
#include <io.h>
#include <str.h>
#include <xml.h>
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <apr_dso.h>
#include <apr_time.h>
#include <apr_strings.h>
#include <apr_file_io.h>
Include dependency graph for module.c:
Go to the source code of this file.
Functions | |
static bs_status | set_definitions (module_info *modinfo, apr_pool_t *mp) |
bs_status | load_module (const char *name) |
bs_status | unload_module (const char *name) |
bs_status | unload_all_modules (void) |
bs_status | init_module (apr_pool_t *mp) |
bs_module * | get_module_info (const char *name) |
bs_status | get_module_descriptions (bs_list *names, bs_list *fnames, bs_list *versions, bs_list *descriptions) |
Variables | |
apr_pool_t * | global_mp |
static bs_list * | modules |
static bs_status set_definitions | ( | module_info * | modinfo, | |
apr_pool_t * | mp | |||
) | [static] |
Read the WSDL of the module, parse it and add it to the passed modinfo structure.
modinfo | A structure with the module's info | |
mp | Memory pool to use |
Definition at line 68 of file module.c.
References BIOSPHERED_MODULES_DIR, BS_OK, module_info::def, global_modules_dir, len(), lock_option_mux(), read_file_into_buf(), runtestsuite::rv, SERVICE_DEF_FROM_XML, module_info::services, bs_module::services_definition, unlock_option_mux(), and xlate_from_xml().
Referenced by load_module().
Here is the call graph for this function:
The modules list will hold module_info structures with info about all loaded modules.
Definition at line 58 of file module.c.
Referenced by get_module_descriptions(), get_module_info(), init_module(), load_module(), unload_all_modules(), and unload_module().