diff options
Diffstat (limited to 'debian/opensync/opensync-0.22/osengine/osengine_mapping_internals.h')
-rw-r--r-- | debian/opensync/opensync-0.22/osengine/osengine_mapping_internals.h | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/debian/opensync/opensync-0.22/osengine/osengine_mapping_internals.h b/debian/opensync/opensync-0.22/osengine/osengine_mapping_internals.h deleted file mode 100644 index 0eecaa42..00000000 --- a/debian/opensync/opensync-0.22/osengine/osengine_mapping_internals.h +++ /dev/null @@ -1,87 +0,0 @@ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -struct OSyncMappingTable { - GList *mappings; - OSyncEngine *engine; - GList *unmapped; - OSyncGroup *group; - GList *views; - GList *entries; -}; - -struct OSyncMappingView { - OSyncClient *client; - GList *changes; - OSyncMappingTable *table; - long long int memberid; -}; - -struct OSyncMapping { - GList *entries; - OSyncMappingEntry *master; - void *engine_data; - long long int id; - OSyncMappingTable *table; - OSyncFlag *fl_solved; - OSyncFlag *fl_chkconflict; - OSyncFlag *fl_multiplied; - //The combined flags - OSyncFlag *cmb_synced; - OSyncFlag *cmb_has_data; - OSyncFlag *cmb_has_info; - OSyncFlag *cmb_deleted; - OSyncEngine *engine; -}; - -struct OSyncMappingEntry { - OSyncMappingView *view; - OSyncClient *client; - OSyncMapping *mapping; - OSyncChange *change; - OSyncFlag *fl_has_data; - OSyncFlag *fl_dirty; - OSyncFlag *fl_mapped; - OSyncFlag *fl_has_info; - OSyncFlag *fl_synced; - OSyncFlag *fl_deleted; - OSyncFlag *fl_read; - OSyncFlag *fl_committed; -}; -#endif - -OSyncMappingTable *osengine_mappingtable_new(OSyncEngine *engine); -void osengine_mappingtable_free(OSyncMappingTable *table); -OSyncMappingEntry *osengine_mappingtable_store_change(OSyncMappingTable *table, OSyncChange *change); -OSyncMapping *osengine_mappingtable_find_mapping(OSyncMappingTable *table, OSyncChange *change); -OSyncMappingView *osengine_mappingtable_find_view(OSyncMappingTable *table, OSyncMember *member); -void osengine_mappingtable_add_mapping(OSyncMappingTable *table, OSyncMapping *mapping); -osync_bool osengine_mappingtable_load(OSyncMappingTable *table, OSyncError **error); -OSyncMappingTable *_osengine_mappingtable_load_group(OSyncGroup *group); -void osengine_mappingtable_close(OSyncMappingTable *table); -long long int osengine_mappingtable_get_next_id(OSyncMappingTable *table); -void osengine_mappingtable_reset(OSyncMappingTable *table); -void osengine_mappingtable_inject_changes(OSyncMappingTable *table); - -OSyncMapping *osengine_mapping_new(OSyncMappingTable *table); -void osengine_mapping_free(OSyncMapping *mapping); -void osengine_mapping_add_entry(OSyncMapping *mapping, OSyncMappingEntry *entry); -void osengine_mapping_remove_entry(OSyncMapping *mapping, OSyncMappingEntry *entry); -OSyncMappingEntry *osengine_mapping_find_entry(OSyncMapping *mapping, OSyncChange *change, OSyncMappingView *view); -OSyncMappingEntry *osengine_mapping_nth_entry(OSyncMapping *mapping, int nth); -void osengine_mapping_reset(OSyncMapping *mapping); -void osengine_mapping_delete(OSyncMapping *mapping); - -OSyncMappingView *osengine_mappingview_new(OSyncMappingTable *table, OSyncClient *client); -OSyncMappingEntry *osengine_mappingview_store_change(OSyncMappingView *view, OSyncChange *change); -osync_bool osengine_mappingview_uid_is_unique(OSyncMappingView *view, OSyncMappingEntry *entry, osync_bool spare_deleted); -void osengine_mappingview_add_entry(OSyncMappingView *view, OSyncMappingEntry *entry); -void osengine_mappingview_reset(OSyncMappingView *view); -void osengine_mappingview_free(OSyncMappingView *view); - -void osengine_mappingentry_update(OSyncMappingEntry *entry, OSyncChange *change); -OSyncMappingEntry *osengine_mappingentry_new(OSyncMapping *mapping); -void osengine_mappingentry_reset(OSyncMappingEntry *entry); -void osengine_mappingentry_free(OSyncMappingEntry *entry); -OSyncMapping *osengine_mappingtable_mapping_from_id(OSyncMappingTable *table, long long id); -OSyncMappingEntry *osengine_mappingentry_copy(OSyncMappingEntry *entry); - |