OpenSync  0.22
Functions
OpenSync Engine Internals

The internals of the engine (communication part) More...

Functions

void _new_change_receiver (OSyncEngine *engine, OSyncClient *client, OSyncChange *change)
 
OSyncClient * osengine_get_client (OSyncEngine *engine, long long int memberId)
 
void send_engine_changed (OSyncEngine *engine)
 
void send_mapping_changed (OSyncEngine *engine, OSyncMapping *mapping)
 
void send_mappingentry_changed (OSyncEngine *engine, OSyncMappingEntry *entry)
 

Detailed Description

The internals of the engine (communication part)

This gives you an insight in the inner workings of the sync engine, especially the communication part.

Function Documentation

void _new_change_receiver ( OSyncEngine *  engine,
OSyncClient *  client,
OSyncChange change 
)

first we need to detect the objtype because we use uid + objtype as identifier for an entry. Special case is file as objformat... we must not change the objtype with format file

do not use CHANGE_MODIFIED if slowsync or (change not exist before if not filesync)

we need to handle the special delete case where objtype is data and no uid with objtype data exists from this member

Definition at line 57 of file osengine_engine.c.