55 #if !defined(__AMXB_OPERATORS_H__)
56 #define __AMXB_OPERATORS_H__
77 #define AMXB_FLAG_PARAMETERS 0x0001
78 #define AMXB_FLAG_FUNCTIONS 0x0002
79 #define AMXB_FLAG_EVENTS 0x0004
80 #define AMXB_FLAG_OBJECTS 0x0008
81 #define AMXB_FLAG_INSTANCES 0x0010
82 #define AMXB_FLAG_FIRST_LVL 0x0020
83 #define AMXB_FLAG_NAMED 0x0040
84 #define AMXB_FLAG_EXISTS 0x0080
85 #define AMXB_FLAG_TEMPLATE_INFO 0x0100
86 #define AMXB_FLAG_PARTIAL 0x0200
87 #define AMXB_FLAG_PROTECTED 0x0400
399 amxc_var_t* req_paths,
639 amxc_var_t* req_paths,
959 amxd_path_t* obj_path,
960 amxc_var_t* ret_val);
1014 const char* search_path,
int amxb_resolve(amxb_bus_ctx_t *bus_ctx, amxd_path_t *obj_path, amxc_var_t *ret_val)
void(* amxb_be_cb_fn_t)(const amxb_bus_ctx_t *bus_ctx, const amxc_var_t *const data, void *priv)
void(* amxb_be_done_cb_fn_t)(const amxb_bus_ctx_t *bus_ctx, amxb_request_t *req, int status, void *priv)
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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)
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.
static amxb_bus_ctx_t * bus_ctx