OpenSync  0.22
Data Fields

A change object. More...

#include <opensync_change_internals.h>

Data Fields

char * uid
 
char * hash
 
char * data
 
int size
 
osync_bool has_data
 
OSyncObjTypeobjtype
 
char * objtype_name
 
OSyncObjFormatformat
 
char * format_name
 
OSyncObjFormatinitial_format
 
char * initial_format_name
 
OSyncFormatEnvconv_env
 
OSyncMembermember
 
OSyncChangeType changetype
 
void * engine_data
 
long long int id
 
int refcount
 
long long int mappingid
 
OSyncDB * changes_db
 
char * destobjtype
 
char * sourceobjtype
 
OSyncMembersourcemember
 

Detailed Description

A change object.

Definition at line 6 of file opensync_change_internals.h.

Field Documentation

char* OSyncChange::uid
char* OSyncChange::hash
char* OSyncChange::data
int OSyncChange::size
osync_bool OSyncChange::has_data
OSyncObjType* OSyncChange::objtype
char* OSyncChange::objtype_name

The name of the object type

Definition at line 21 of file opensync_change_internals.h.

Referenced by osync_change_get_objtype(), and osync_change_set_objtype_string().

OSyncObjFormat* OSyncChange::format
char* OSyncChange::format_name

The name of the format

Definition at line 25 of file opensync_change_internals.h.

Referenced by osync_change_get_objformat(), and osync_change_set_objformat_string().

OSyncObjFormat* OSyncChange::initial_format

The format that was initialy reported

Definition at line 28 of file opensync_change_internals.h.

Referenced by osync_change_get_initial_objformat().

char* OSyncChange::initial_format_name

The name of the initial format

Definition at line 30 of file opensync_change_internals.h.

Referenced by osync_change_get_initial_objformat().

OSyncFormatEnv* OSyncChange::conv_env
OSyncMember* OSyncChange::member
OSyncChangeType OSyncChange::changetype
void* OSyncChange::engine_data

The data associated by the engine with this change

Definition at line 40 of file opensync_change_internals.h.

Referenced by osync_change_get_engine_data(), and osync_change_set_engine_data().

long long int OSyncChange::id

The unique id

Definition at line 42 of file opensync_change_internals.h.

Referenced by osync_change_get_id().

int OSyncChange::refcount

The reference counter for this object

Definition at line 44 of file opensync_change_internals.h.

Referenced by osync_change_decref(), osync_change_new(), and osync_change_ref().

long long int OSyncChange::mappingid

The id of the mapping for this change

Definition at line 46 of file opensync_change_internals.h.

Referenced by osync_change_get_mappingid(), and osync_change_set_mappingid().

OSyncDB* OSyncChange::changes_db

The database where this change is stored

Definition at line 48 of file opensync_change_internals.h.

Referenced by osync_change_copy(), osync_change_save(), and osync_change_update().

char* OSyncChange::destobjtype

The name of the destination object type for the filter

Definition at line 52 of file opensync_change_internals.h.

Referenced by osync_member_commit_change().

char* OSyncChange::sourceobjtype

the name of the source object type for the filter

Definition at line 54 of file opensync_change_internals.h.

Referenced by osync_change_copy(), osync_change_get_sourceobjtype(), and osync_change_update().

OSyncMember* OSyncChange::sourcemember

the member where this change originated

Definition at line 56 of file opensync_change_internals.h.


The documentation for this struct was generated from the following file: