|
libamxs
0.6.0
Data Model Synchronization C API
|
#include <stdlib.h>#include <string.h>#include <amxc/amxc.h>#include <amxp/amxp.h>#include <amxd/amxd_object.h>#include <amxd/amxd_path.h>#include <amxd/amxd_transaction.h>#include <amxd/amxd_dm.h>#include <amxs/amxs_types.h>#include <amxs/amxs_util.h>#include "amxs_priv.h"Go to the source code of this file.
Macros | |
| #define | _GNU_SOURCE |
| #define _GNU_SOURCE |
Definition at line 56 of file amxs_util.c.
|
static |
Definition at line 742 of file amxs_util.c.
| 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, | ||
| UNUSED void * | priv | ||
| ) |
Definition at line 617 of file amxs_util.c.
| amxb_bus_ctx_t* amxs_sync_ctx_get_bus_ctx | ( | const amxs_sync_ctx_t *const | ctx, |
| amxs_sync_direction_t | direction | ||
| ) |
Definition at line 343 of file amxs_util.c.
| amxd_dm_t* amxs_sync_ctx_get_dm | ( | const amxs_sync_ctx_t * | ctx, |
| amxs_sync_direction_t | direction | ||
| ) |
Definition at line 367 of file amxs_util.c.
| amxb_bus_ctx_t* amxs_sync_ctx_get_opposite_bus_ctx | ( | const amxs_sync_ctx_t *const | ctx, |
| amxs_sync_direction_t | direction | ||
| ) |
Definition at line 331 of file amxs_util.c.
| amxd_dm_t* amxs_sync_ctx_get_opposite_dm | ( | const amxs_sync_ctx_t * | ctx, |
| amxs_sync_direction_t | direction | ||
| ) |
Definition at line 355 of file amxs_util.c.
|
static |
Definition at line 391 of file amxs_util.c.
| 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 | ||
| ) |
Definition at line 168 of file amxs_util.c.
|
static |
Definition at line 138 of file amxs_util.c.
| 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 | ||
| ) |
Definition at line 101 of file amxs_util.c.
| bool amxs_sync_entry_direction_allowed | ( | const amxs_sync_entry_t *const | entry, |
| amxs_sync_direction_t | direction | ||
| ) |
Definition at line 231 of file amxs_util.c.
| 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 | ||
| ) |
Definition at line 514 of file amxs_util.c.
| amxs_sync_ctx_t* amxs_sync_entry_get_ctx | ( | const amxs_sync_entry_t *const | entry | ) |
Definition at line 297 of file amxs_util.c.
| const char* amxs_sync_entry_get_name | ( | const amxs_sync_entry_t *const | entry, |
| amxs_sync_direction_t | direction | ||
| ) |
Definition at line 264 of file amxs_util.c.
| unsigned int amxs_sync_entry_get_opposite_index | ( | const amxs_sync_entry_t *const | entry, |
| UNUSED amxs_sync_direction_t | direction, | ||
| unsigned int | index | ||
| ) |
Definition at line 379 of file amxs_util.c.
| const char* amxs_sync_entry_get_opposite_name | ( | const amxs_sync_entry_t *const | entry, |
| amxs_sync_direction_t | direction | ||
| ) |
Definition at line 275 of file amxs_util.c.
| char* amxs_sync_entry_get_opposite_parent_path | ( | const amxs_sync_entry_t *const | entry, |
| amxs_sync_direction_t | direction, | ||
| const char *const | old_path | ||
| ) |
Definition at line 456 of file amxs_util.c.
| char* amxs_sync_entry_get_opposite_path | ( | const amxs_sync_entry_t *const | entry, |
| amxs_sync_direction_t | direction, | ||
| const char *const | old_path | ||
| ) |
Definition at line 429 of file amxs_util.c.
| amxs_sync_entry_t* amxs_sync_entry_get_parent | ( | const amxs_sync_entry_t *const | entry | ) |
Definition at line 286 of file amxs_util.c.
| char* amxs_sync_entry_get_regex_parent_path | ( | const amxs_sync_entry_t *const | entry, |
| amxs_sync_direction_t | direction | ||
| ) |
Definition at line 502 of file amxs_util.c.
| char* amxs_sync_entry_get_regex_path | ( | const amxs_sync_entry_t *const | entry, |
| amxs_sync_direction_t | direction | ||
| ) |
Definition at line 469 of file amxs_util.c.
| amxp_signal_mngr_t* amxs_sync_entry_get_signal_manager | ( | const amxs_sync_entry_t *const | entry | ) |
Definition at line 317 of file amxs_util.c.
| bool amxs_sync_entry_is_batch_param | ( | const amxs_sync_entry_t *const | entry | ) |
Definition at line 251 of file amxs_util.c.
| bool amxs_sync_entry_is_bidirectional | ( | const amxs_sync_entry_t * | entry | ) |
Definition at line 219 of file amxs_util.c.
| bool amxs_sync_entry_remove_bidrection_object | ( | const amxs_sync_entry_t * | entry, |
| amxs_sync_direction_t | direction, | ||
| const char * | path | ||
| ) |
Definition at line 76 of file amxs_util.c.
| amxs_status_t amxs_sync_object_copy_action_cb | ( | const amxs_sync_entry_t * | entry, |
| amxs_sync_direction_t | direction, | ||
| amxc_var_t * | data, | ||
| UNUSED void * | priv | ||
| ) |
Definition at line 833 of file amxs_util.c.
| 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, | ||
| UNUSED void * | priv | ||
| ) |
Definition at line 776 of file amxs_util.c.
| amxs_status_t amxs_sync_param_copy_action_cb | ( | const amxs_sync_entry_t * | entry, |
| amxs_sync_direction_t | direction, | ||
| amxc_var_t * | data, | ||
| UNUSED void * | priv | ||
| ) |
Definition at line 698 of file amxs_util.c.
| 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, | ||
| UNUSED void * | priv | ||
| ) |
Definition at line 542 of file amxs_util.c.