4 void osengine_calculate_flags(OSyncEngine *engine);
5 void osengine_client_all_deciders(OSyncEngine *engine);
6 void osengine_decider(OSyncEngine *engine);
7 void osengine_client_decider(OSyncEngine *engine, OSyncClient *client);
8 void osengine_changes_done(OSyncEngine *engine,
OSyncMember *member);
19 void osengine_set_message_callback(OSyncEngine *engine,
void *(*
function) (OSyncEngine *, OSyncClient *,
const char *,
void *,
void *),
void *user_data);
void osengine_wait_info_end(OSyncEngine *engine)
This function will block until all change object information has been received.
Struct for the engine status callback.
void osengine_set_memberstatus_callback(OSyncEngine *engine, void(*function)(OSyncMemberUpdate *, void *), void *user_data)
This will set the member status handler for the given engine.
osync_bool osengine_init(OSyncEngine *engine, OSyncError **)
This will initialize a engine.
void osengine_set_conflict_callback(OSyncEngine *engine, void(*function)(OSyncEngine *, OSyncMapping *, void *), void *user_data)
This will set the conflict handler for the given engine.
osync_bool osengine_synchronize(OSyncEngine *engine, OSyncError **)
Starts to synchronize the given OSyncEngine.
OSyncMapping * osengine_mapping_from_id(OSyncEngine *engine, long long int id)
Searches for a mapping by its id.
osync_bool osengine_wait_sync_end(OSyncEngine *engine, OSyncError **error)
This function will block until a synchronization has ended.
void osengine_flag_only_info(OSyncEngine *engine)
Sets a flag on the engine that the engine should only request the info about sync objects...
Represent a group of members that should be synchronized.
void osengine_pause(OSyncEngine *engine)
This will pause the engine.
void osengine_free(OSyncEngine *engine)
This will free a engine and all resources associated.
void osengine_finalize(OSyncEngine *engine)
This will finalize a engine.
Struct for the member status callback.
Struct for the change status callback.
A member of a group which represent a single device.
void osengine_set_enginestatus_callback(OSyncEngine *engine, void(*function)(OSyncEngine *, OSyncEngineUpdate *, void *), void *user_data)
This will set the engine status handler for the given engine.
osync_bool osengine_sync_and_block(OSyncEngine *engine, OSyncError **error)
This function will synchronize once and block until the sync has finished.
void osengine_abort(OSyncEngine *engine)
Sets a flag on the engine that the engine should do single stepping (For debugging) ...
void osengine_set_mappingstatus_callback(OSyncEngine *engine, void(*function)(OSyncMappingUpdate *, void *), void *user_data)
This will set the mapping status handler for the given engine.
void osengine_one_iteration(OSyncEngine *engine)
Does one iteration of the engine (For debugging)
void osengine_set_changestatus_callback(OSyncEngine *engine, void(*function)(OSyncEngine *, OSyncChangeUpdate *, void *), void *user_data)
This will set the change status handler for the given engine.
Struct for the mapping status callback.
void osengine_set_message_callback(OSyncEngine *engine, void *(*function)(OSyncEngine *, OSyncClient *, const char *, void *, void *), void *user_data)
This will set the callback handler for a custom message.
OSyncEngine * osengine_new(OSyncGroup *group, OSyncError **)
This will create a new engine for the given group.
void osengine_flag_manual(OSyncEngine *engine)
Sets a flag on the engine that the engine should do single stepping (For debugging) ...