libamxo
4.3.4
Object Definition Language (ODL) parsing
|
Go to the source code of this file.
Data Structures | |
struct | _amxo_sync_data |
Macros | |
#define | _GNU_SOURCE |
#define | MSG_CREATION_FAILED "Creation failed for %s and %s (direction = %d, status = %d)" |
#define | MSG_SET_DM_FAILED "Set datamodel for %s and %s failed (direction = %d, status = %d)" |
#define | MSG_MUST_CONTAIN_SYNC_ENTRIES "Object synchronisation must contain sub-entries" |
#define | MSG_BATCH_PARAM_WITH_CB "Batch parameter synchronisation with callbacks have no effect" |
Typedefs | |
typedef struct _amxo_sync_data | amxo_sync_data_t |
typedef amxs_status_t(* | amxo_sync_add_item_fn_t) (amxs_sync_object_t *parent, amxs_sync_object_t *child) |
Variables | |
static amxc_htable_t | sync_templates |
#define _GNU_SOURCE |
Definition at line 55 of file amxo_parser_dm_sync_utils.c.
#define MSG_BATCH_PARAM_WITH_CB "Batch parameter synchronisation with callbacks have no effect" |
Definition at line 68 of file amxo_parser_dm_sync_utils.c.
#define MSG_CREATION_FAILED "Creation failed for %s and %s (direction = %d, status = %d)" |
Definition at line 62 of file amxo_parser_dm_sync_utils.c.
#define MSG_MUST_CONTAIN_SYNC_ENTRIES "Object synchronisation must contain sub-entries" |
Definition at line 66 of file amxo_parser_dm_sync_utils.c.
#define MSG_SET_DM_FAILED "Set datamodel for %s and %s failed (direction = %d, status = %d)" |
Definition at line 64 of file amxo_parser_dm_sync_utils.c.
typedef amxs_status_t(* amxo_sync_add_item_fn_t) (amxs_sync_object_t *parent, amxs_sync_object_t *child) |
Definition at line 77 of file amxo_parser_dm_sync_utils.c.
typedef struct _amxo_sync_data amxo_sync_data_t |
void amxo_parser_del_sync_data | ( | amxc_llist_it_t * | it | ) |
Definition at line 183 of file amxo_parser_dm_sync_utils.c.
|
static |
Definition at line 82 of file amxo_parser_dm_sync_utils.c.
|
static |
Definition at line 119 of file amxo_parser_dm_sync_utils.c.
amxs_sync_entry_type_t amxo_parser_get_sync_type | ( | amxo_parser_t * | pctx | ) |
Definition at line 158 of file amxo_parser_dm_sync_utils.c.
bool amxo_parser_is_sync_item | ( | amxo_parser_t * | pctx | ) |
Definition at line 170 of file amxo_parser_dm_sync_utils.c.
void amxo_parser_pop_sync_item | ( | amxo_parser_t * | pctx | ) |
Definition at line 210 of file amxo_parser_dm_sync_utils.c.
int amxo_parser_push_sync_ctx | ( | amxo_parser_t * | pctx, |
const char * | path_a, | ||
const char * | path_b, | ||
int | direction | ||
) |
Definition at line 222 of file amxo_parser_dm_sync_utils.c.
int amxo_parser_push_sync_object | ( | amxo_parser_t * | pctx, |
const char * | path_a, | ||
const char * | path_b, | ||
int | direction | ||
) |
Definition at line 320 of file amxo_parser_dm_sync_utils.c.
int amxo_parser_push_sync_parameter | ( | amxo_parser_t * | pctx, |
const char * | param_a, | ||
const char * | param_b, | ||
int | direction | ||
) |
Definition at line 364 of file amxo_parser_dm_sync_utils.c.
int amxo_parser_push_sync_template | ( | amxo_parser_t * | pctx, |
const char * | path_a, | ||
const char * | path_b, | ||
int | direction, | ||
const char * | name | ||
) |
Definition at line 285 of file amxo_parser_dm_sync_utils.c.
int amxo_parser_start_sync | ( | amxc_llist_it_t * | it | ) |
Definition at line 464 of file amxo_parser_dm_sync_utils.c.
void amxo_parser_stop_sync | ( | amxc_llist_it_t * | it | ) |
Definition at line 483 of file amxo_parser_dm_sync_utils.c.
|
static |
Definition at line 89 of file amxo_parser_dm_sync_utils.c.
amxs_sync_ctx_t* amxo_parser_sync_get | ( | const char * | sync_template | ) |
Definition at line 526 of file amxo_parser_dm_sync_utils.c.
bool amxo_parser_sync_item_contains_entries | ( | amxo_parser_t * | pctx | ) |
Definition at line 447 of file amxo_parser_dm_sync_utils.c.
void amxo_parser_sync_remove_invalid | ( | amxo_parser_t * | pctx | ) |
Definition at line 497 of file amxo_parser_dm_sync_utils.c.
amxd_status_t amxo_parser_sync_set_action | ( | amxo_parser_t * | pctx, |
amxs_action_cb_t | cb | ||
) |
Definition at line 428 of file amxo_parser_dm_sync_utils.c.
|
static |
Definition at line 126 of file amxo_parser_dm_sync_utils.c.
amxd_status_t amxo_parser_sync_set_translator | ( | amxo_parser_t * | pctx, |
amxs_translation_cb_t | cb | ||
) |
Definition at line 409 of file amxo_parser_dm_sync_utils.c.
int amxo_parser_sync_update_flags | ( | int | direction | ) |
Definition at line 175 of file amxo_parser_dm_sync_utils.c.
CONSTRUCTOR_LVL | ( | 110 | ) |
Definition at line 540 of file amxo_parser_dm_sync_utils.c.
DESTRUCTOR_LVL | ( | 110 | ) |
Definition at line 544 of file amxo_parser_dm_sync_utils.c.
|
static |
Definition at line 80 of file amxo_parser_dm_sync_utils.c.