OpenSync  0.22
osengine_status.h
1 
5 typedef enum {
25 
29 typedef enum {
41 
45 typedef enum {
53 
57 typedef enum {
67  ENG_ERROR = 5,
75 
76 
80 typedef struct OSyncMemberUpdate {
88 
92 typedef struct OSyncChangeUpdate {
98  int member_id;
104 
108 typedef struct OSyncMappingUpdate {
112  long long int winner;
114  OSyncMapping *mapping;
118 
122 typedef struct OSyncEngineUpdate {
128 
129 
130 void osync_status_conflict(OSyncEngine *engine, OSyncMapping *mapping);
131 void osync_status_update_member(OSyncEngine *engine, OSyncClient *client, memberupdatetype type, OSyncError **error);
132 void osync_status_update_change(OSyncEngine *engine, OSyncChange *change, changeupdatetype type, OSyncError **error);
133 void osync_status_update_mapping(OSyncEngine *engine, OSyncMapping *mapping, mappingupdatetype type, OSyncError **error);
134 void osync_status_update_engine(OSyncEngine *engine, engineupdatetype type, OSyncError **error);
memberupdatetype
The types of status updates for members.
Struct for the engine status callback.
OSyncChange * change
Represent an error.
mappingupdatetype type
changeupdatetype
The types of status updates for changes.
changeupdatetype type
engineupdatetype type
OSyncError * error
Struct for the member status callback.
struct OSyncEngineUpdate OSyncEngineUpdate
Struct for the engine status callback.
struct OSyncMemberUpdate OSyncMemberUpdate
Struct for the member status callback.
Struct for the change status callback.
A member of a group which represent a single device.
struct OSyncMappingUpdate OSyncMappingUpdate
Struct for the mapping status callback.
OSyncMapping * mapping
struct OSyncChangeUpdate OSyncChangeUpdate
Struct for the change status callback.
long long int winner
A change object.
OSyncError * error
Struct for the mapping status callback.
engineupdatetype
The types of status updates for members.
OSyncMember * member
memberupdatetype type
mappingupdatetype
The types of status updates for mappings.
OSyncError * error