libamxs  0.6.0
Data Model Synchronization C API
amxs_sync_object.c File Reference
#include <stdlib.h>
#include <string.h>
#include <amxc/amxc.h>
#include <amxs/amxs_sync_object.h>
#include <amxs/amxs_sync_param.h>
#include <amxs/amxs_util.h>
#include "amxs_priv.h"
#include "amxs_sync_entry.h"

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 

Functions

amxs_status_t amxs_sync_object_new (amxs_sync_object_t **object, const char *object_a, const char *object_b, int attributes, amxs_translation_cb_t translation_cb, amxs_action_cb_t action_cb, void *priv)
 Synchronization object constructor function. More...
 
amxs_status_t amxs_sync_object_new_copy (amxs_sync_object_t **object, const char *object_a, const char *object_b, int attributes)
 Synchronization object constructor function. More...
 
void amxs_sync_object_delete (amxs_sync_object_t **object)
 Synchronization object destructor function. More...
 
amxs_status_t amxs_sync_object_add_param (amxs_sync_object_t *object, amxs_sync_param_t *param)
 Adds a synchronization parameter to a synchronization object. More...
 
amxs_status_t amxs_sync_object_add_new_param (amxs_sync_object_t *object, const char *param_a, const char *param_b, int attributes, amxs_translation_cb_t translation_cb, amxs_action_cb_t action_cb, void *priv)
 Creates and adds a synchronization parameter to a synchronization object. More...
 
amxs_status_t amxs_sync_object_add_new_copy_param (amxs_sync_object_t *object, const char *param_a, const char *param_b, int attributes)
 Creates and adds a synchronization parameter to a synchronization object. More...
 
amxs_status_t amxs_sync_object_add_object (amxs_sync_object_t *parent, amxs_sync_object_t *child)
 Adds a synchronization object to a synchronization object. More...
 
amxs_status_t amxs_sync_object_add_new_object (amxs_sync_object_t *parent, const char *object_a, const char *object_b, int attributes, amxs_translation_cb_t translation_cb, amxs_action_cb_t action_cb, void *priv)
 Creates and adds a synchronization object to a synchronization object. More...
 
amxs_status_t amxs_sync_object_add_new_copy_object (amxs_sync_object_t *parent, const char *object_a, const char *object_b, int attributes)
 Creates and adds a synchronization object to a synchronization object. More...
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 56 of file amxs_sync_object.c.