55 #if !defined(__AMXS_UTIL_H__)
56 #define __AMXS_UTIL_H__
80 const char* opposite_path);
86 const char* opposite_path);
125 const char* old_path);
129 const char* old_path);
156 const amxc_var_t* input,
175 const amxc_var_t* input,
216 const amxc_var_t* input,
Ambiorix Object Synchronization API header file.
Ambiorix Object Synchronization API header file.
Ambiorix Object Synchronization API header file.
Ambiorix Object Synchronization API header file.
enum _amxs_sync_direction amxs_sync_direction_t
enum _amxs_status amxs_status_t
char * amxs_sync_entry_get_regex_parent_path(const amxs_sync_entry_t *const entry, amxs_sync_direction_t direction)
amxs_status_t amxs_sync_entry_get_batch_params(const amxs_sync_entry_t *const entry, amxc_var_t *params, amxs_sync_direction_t direction)
char * amxs_sync_entry_get_opposite_path(const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, const char *old_path)
char * amxs_sync_entry_get_opposite_parent_path(const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, const char *old_path)
bool amxs_sync_entry_direction_allowed(const amxs_sync_entry_t *entry, amxs_sync_direction_t direction)
char * amxs_sync_entry_get_regex_path(const amxs_sync_entry_t *const entry, amxs_sync_direction_t direction)
bool amxs_sync_entry_check_bidirectional_loop(const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, amxc_var_t *value, const char *path, const char *opposite_path)
amxs_sync_ctx_t * amxs_sync_entry_get_ctx(const amxs_sync_entry_t *entry)
bool amxs_sync_entry_remove_bidrection_object(const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, const char *path)
amxd_dm_t * amxs_sync_ctx_get_opposite_dm(const amxs_sync_ctx_t *ctx, amxs_sync_direction_t direction)
bool amxs_sync_entry_is_batch_param(const amxs_sync_entry_t *const entry)
bool amxs_sync_entry_check_bidrection_object(const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, const char *path, const char *opposite_path)
const char * amxs_sync_entry_get_opposite_name(const amxs_sync_entry_t *entry, amxs_sync_direction_t direction)
unsigned int amxs_sync_entry_get_opposite_index(const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, unsigned int index)
const char * amxs_sync_entry_get_name(const amxs_sync_entry_t *entry, amxs_sync_direction_t direction)
amxs_sync_entry_t * amxs_sync_entry_get_parent(const amxs_sync_entry_t *entry)
bool amxs_sync_entry_is_bidirectional(const amxs_sync_entry_t *entry)
amxp_signal_mngr_t * amxs_sync_entry_get_signal_manager(const amxs_sync_entry_t *const entry)
amxb_bus_ctx_t * amxs_sync_ctx_get_bus_ctx(const amxs_sync_ctx_t *ctx, amxs_sync_direction_t direction)
amxd_dm_t * amxs_sync_ctx_get_dm(const amxs_sync_ctx_t *ctx, amxs_sync_direction_t direction)
amxb_bus_ctx_t * amxs_sync_ctx_get_opposite_bus_ctx(const amxs_sync_ctx_t *ctx, amxs_sync_direction_t direction)
amxs_status_t amxs_sync_batch_param_copy_trans_cb(const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, const amxc_var_t *input, amxc_var_t *output, void *priv)
Translates data from a dm:object-changed event to data suited for an amxb_set call for all parameters...
amxs_status_t amxs_sync_object_copy_trans_cb(const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, const amxc_var_t *input, amxc_var_t *output, void *priv)
Translates data from a dm:instance-added or dm:instance-removed event to data suited for an amxb call...
amxs_status_t amxs_sync_param_copy_trans_cb(const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, const amxc_var_t *input, amxc_var_t *output, void *priv)
Translates data from a dm:object-changed event to data suited for an amxb_set call for a single param...
amxs_status_t amxs_sync_param_copy_action_cb(const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, amxc_var_t *data, void *priv)
Sets the new parameter value.
amxs_status_t amxs_sync_object_copy_action_cb(const amxs_sync_entry_t *entry, amxs_sync_direction_t direction, amxc_var_t *data, void *priv)
Adds, removes or updates an object with the given data using an amxb call.