OpenSync  0.22
opensync_change_internals.h
1 #ifndef _OPENSYNC_CHANGE_INTERNALS_H_
2 #define _OPENSYNC_CHANGE_INTERNALS_H_
3 
6 struct OSyncChange {
8  char *uid;
10  char *hash; //Hash value to identify changes
12  char *data; //The data of the object
14  int size;
16  osync_bool has_data;
17 
21  char *objtype_name;
25  char *format_name;
26 
31 
34 
40  void *engine_data;
42  long long int id;
44  int refcount;
46  long long int mappingid;
48  OSyncDB *changes_db;
49 
50  //For the filters
52  char *destobjtype;
57 };
58 
60 
61 #endif //_OPENSYNC_CHANGE_INTERNALS_H_
OSyncObjFormat * osync_change_get_initial_objformat(OSyncChange *change)
OSyncMember * sourcemember
OSyncObjType * objtype
OSyncFormatEnv * conv_env
A member of a group which represent a single device.
long long int mappingid
OSyncObjFormat * format
A change object.
Represent a abstract object type (like "contact")
OSyncObjFormat * initial_format
Represent a format for a object type.
OSyncChangeType
The changetypes of a change object.
Definition: opensync.h:28
The environment used for conversions.
OSyncChangeType changetype