|
libamxb
4.8.2
Bus Agnostic C API
|
Ambiorix Bus Agnostic Data Model Operators API. More...
#include <amxb/amxb_types.h>Go to the source code of this file.
Macros | |
| #define | AMXB_FLAG_PARAMETERS 0x0001 |
| #define | AMXB_FLAG_FUNCTIONS 0x0002 |
| #define | AMXB_FLAG_EVENTS 0x0004 |
| #define | AMXB_FLAG_OBJECTS 0x0008 |
| #define | AMXB_FLAG_INSTANCES 0x0010 |
| #define | AMXB_FLAG_FIRST_LVL 0x0020 |
| #define | AMXB_FLAG_NAMED 0x0040 |
| #define | AMXB_FLAG_EXISTS 0x0080 |
| #define | AMXB_FLAG_TEMPLATE_INFO 0x0100 |
| #define | AMXB_FLAG_PARTIAL 0x0200 |
| #define | AMXB_FLAG_PROTECTED 0x0400 |
Functions | |
| int | amxb_call (amxb_bus_ctx_t *const bus_ctx, const char *object, const char *method, amxc_var_t *args, amxc_var_t *ret, int timeout) |
| Invokes a data model function. More... | |
| amxb_request_t * | amxb_async_call (amxb_bus_ctx_t *const bus_ctx, const char *object, const char *method, amxc_var_t *args, amxb_be_done_cb_fn_t done_fn, void *priv) |
| Invokes a data model function. More... | |
| int | amxb_get (amxb_bus_ctx_t *const bus_ctx, const char *object, int32_t depth, amxc_var_t *ret, int timeout) |
| Fetches one or more objects or a single parameter. More... | |
| int | amxb_get_filtered (amxb_bus_ctx_t *const bus_ctx, const char *object, const char *filter, int32_t depth, amxc_var_t *ret, int timeout) |
| Fetches one or more objects and their parameters that are matching a filter. More... | |
| int | amxb_get_multiple (amxb_bus_ctx_t *const bus_ctx, amxc_var_t *req_paths, int32_t depth, amxc_var_t *ret, int timeout) |
| Fetches one or more (root) objects or multiple parameters. More... | |
| int | amxb_set (amxb_bus_ctx_t *const bus_ctx, const char *object, amxc_var_t *values, amxc_var_t *ret, int timeout) |
| Sets parameter values of one single object or of multiple instance objects. More... | |
| int | amxb_set_multiple (amxb_bus_ctx_t *const bus_ctx, uint32_t flags, amxc_var_t *req_paths, amxc_var_t *ret, int timeout) |
| Sets parameter values for multiple objects (request paths) More... | |
| int | amxb_add (amxb_bus_ctx_t *const bus_ctx, const char *object, uint32_t index, const char *name, amxc_var_t *values, amxc_var_t *ret, int timeout) |
| Adds an instance to a multi-instance object. More... | |
| int | amxb_del (amxb_bus_ctx_t *const bus_ctx, const char *object, uint32_t index, const char *name, amxc_var_t *ret, int timeout) |
| Deletes one or more instances of a multi-instance object. More... | |
| int | amxb_get_supported (amxb_bus_ctx_t *const bus_ctx, const char *object, uint32_t flags, amxc_var_t *ret, int timeout) |
| Gets the supported data model. More... | |
| int | amxb_describe (amxb_bus_ctx_t *const bus_ctx, const char *object, uint32_t flags, amxc_var_t *ret, int timeout) |
| Describes an object. More... | |
| int | amxb_list (amxb_bus_ctx_t *const bus_ctx, const char *object, uint32_t flags, amxb_be_cb_fn_t fn, void *priv) |
| List the service elements/nodes of an object. More... | |
| int | amxb_resolve (amxb_bus_ctx_t *bus_ctx, amxd_path_t *obj_path, amxc_var_t *ret_val) |
| int | amxb_get_instances (amxb_bus_ctx_t *const bus_ctx, const char *search_path, int32_t depth, amxc_var_t *ret, int timeout) |
| Fetches the instances and the unique keys of a multi-instance object. More... | |
Ambiorix Bus Agnostic Data Model Operators API.
Definition in file amxb_operators.h.
| #define AMXB_FLAG_EVENTS 0x0004 |
Definition at line 79 of file amxb_operators.h.
| #define AMXB_FLAG_EXISTS 0x0080 |
Definition at line 84 of file amxb_operators.h.
| #define AMXB_FLAG_FIRST_LVL 0x0020 |
Definition at line 82 of file amxb_operators.h.
| #define AMXB_FLAG_FUNCTIONS 0x0002 |
Definition at line 78 of file amxb_operators.h.
| #define AMXB_FLAG_INSTANCES 0x0010 |
Definition at line 81 of file amxb_operators.h.
| #define AMXB_FLAG_NAMED 0x0040 |
Definition at line 83 of file amxb_operators.h.
| #define AMXB_FLAG_OBJECTS 0x0008 |
Definition at line 80 of file amxb_operators.h.
| #define AMXB_FLAG_PARAMETERS 0x0001 |
Definition at line 77 of file amxb_operators.h.
| #define AMXB_FLAG_PARTIAL 0x0200 |
Definition at line 86 of file amxb_operators.h.
| #define AMXB_FLAG_PROTECTED 0x0400 |
Definition at line 87 of file amxb_operators.h.
| #define AMXB_FLAG_TEMPLATE_INFO 0x0100 |
Definition at line 85 of file amxb_operators.h.
| int amxb_resolve | ( | amxb_bus_ctx_t * | bus_ctx, |
| amxd_path_t * | obj_path, | ||
| amxc_var_t * | ret_val | ||
| ) |
Definition at line 78 of file amxb_ba_op_resolve.c.