libamxb
4.8.2
Bus Agnostic C API
|
Ambiorix Bus Backend Manager API. More...
#include <amxb/amxb_types.h>
Go to the source code of this file.
Functions | |
int | amxb_be_register (amxb_be_funcs_t *const funcs) |
Registers backend interface. More... | |
int | amxb_be_unregister (amxb_be_funcs_t *const funcs) |
Unregisters a backend interface. More... | |
amxb_be_funcs_t * | amxb_be_find (const char *name) |
Gets a backend function table using its name. More... | |
const amxb_be_info_t * | amxb_be_get_info (const char *name) |
Gets a backend information. More... | |
int | amxb_be_load (const char *path_name) |
Loads a shared object that implements a bus specific backend interface. More... | |
int | amxb_be_load_multiple (amxc_var_t *const bes) |
Loads multiple shared objects that each implement a bus specific backend interface. More... | |
int | amxb_be_remove (const char *backend_name) |
Removes and unloads a backend with a given name. More... | |
void | amxb_be_remove_all (void) |
Removes and unloads all backends. More... | |
amxc_array_t * | amxb_be_list (void) |
Get the loaded back-end names. More... | |
int | amxb_be_for_all_connections (amxb_be_task_fn_t fn, const amxc_var_t *args, void *priv) |
Calls a function on all open connections. More... | |
int | amxb_be_for_all_listeners (amxb_be_task_fn_t fn, const amxc_var_t *args, void *priv) |
Calls a function on all listen sockets. More... | |
amxb_bus_ctx_t * | amxb_be_who_has (const char *object_path) |
Searches a bus context that can provide a certain object. More... | |
void | amxb_be_cache_remove_ctx (amxb_bus_ctx_t *ctx) |
Removes a bus context from the lookup cache. More... | |
void | amxb_be_cache_remove_path (const char *object_path) |
Removes an object path and its corresponding bus context from the lookup cache. More... | |
void | amxb_be_cache_set_size (uint32_t size) |
Changes the size of the lookup cache. More... | |
int | amxb_set_config (amxc_var_t *const configuration) |
Passes configuration options to the backends. More... | |
int | amxb_check_version (const amxb_version_t *be_version) |
Compares the given version with the library version. More... | |
int | amxb_check_be_versions (const amxb_version_t *min, const amxb_version_t *max) |
Checks if the library version is in the given range. More... | |
const amxb_version_t * | amxb_get_version (void) |
Gets the version of the library. More... | |
Ambiorix Bus Backend Manager API.
Definition in file amxb_be_mngr.h.