55 #if !defined(__AMXB_BE_MNGR_H__)
56 #define __AMXB_BE_MNGR_H__
297 const amxc_var_t* args,
316 const amxc_var_t* args,
int(* amxb_be_task_fn_t)(amxb_bus_ctx_t *bus_ctx, const amxc_var_t *args, void *priv)
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.
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.
amxb_bus_ctx_t * amxb_be_who_has(const char *object_path)
Searches a bus context that can provide a certain object.
int amxb_be_unregister(amxb_be_funcs_t *const funcs)
Unregisters a backend interface.
void amxb_be_cache_remove_ctx(amxb_bus_ctx_t *ctx)
Removes a bus context from the lookup cache.
const amxb_version_t * amxb_get_version(void)
Gets the version of the library.
int amxb_be_register(amxb_be_funcs_t *const funcs)
Registers backend interface.
void amxb_be_cache_set_size(uint32_t size)
Changes the size of the lookup cache.
const amxb_be_info_t * amxb_be_get_info(const char *name)
Gets a backend information.
int amxb_be_load(const char *path_name)
Loads a shared object that implements a bus specific backend interface.
int amxb_be_load_multiple(amxc_var_t *const bes)
Loads multiple shared objects that each implement a bus specific backend interface.
void amxb_be_cache_remove_path(const char *object_path)
Removes an object path and its corresponding bus context from the lookup cache.
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.
int amxb_be_remove(const char *backend_name)
Removes and unloads a backend with a given name.
int amxb_check_version(const amxb_version_t *be_version)
Compares the given version with the library version.
amxb_be_funcs_t * amxb_be_find(const char *name)
Gets a backend function table using its name.
int amxb_set_config(amxc_var_t *const configuration)
Passes configuration options to the backends.
void amxb_be_remove_all(void)
Removes and unloads all backends.
amxc_array_t * amxb_be_list(void)
Get the loaded back-end names.
The back-end interface structure.
static amxb_version_t be_version