|
static int | amxb_close_backend (UNUSED amxb_be_funcs_t *fns) |
|
static void | amxb_be_remove_connections (amxc_llist_it_t *lit) |
|
static void | amxb_be_remove_backend (UNUSED const char *key, amxc_htable_it_t *it) |
|
static int | amxb_be_invoke_on_all_connections (amxc_llist_t *connections, amxb_be_task_fn_t fn, const amxc_var_t *args, uint32_t type, void *priv) |
|
static bool | amxb_has_object (amxb_bus_ctx_t *bus_ctx, const char *object, bool full_match) |
|
static void | amxb_be_object_exists (UNUSED const amxb_bus_ctx_t *bus_ctx, const amxc_var_t *const data, void *priv) |
|
static amxb_bus_ctx_t * | amxb_be_find_connection (amxc_llist_t *connections, const char *object_path, bool full_match) |
|
static void | amxb_apply_be_config (amxb_be_funcs_t *funcs, amxc_var_t *const config) |
|
amxb_bus_ctx_t * | amxb_be_who_has_impl (const char *object_path, bool full_match) |
|
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...
|
|
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 config) |
| Passes configuration options to the backends. More...
|
|
static CONSTRUCTOR void | amxb_cache_init (void) |
|
static DESTRUCTOR void | amxb_cache_clean (void) |
|