diff options
Diffstat (limited to 'debian/opensync/opensync-0.22/osengine/osengine_client_internals.h')
-rw-r--r-- | debian/opensync/opensync-0.22/osengine/osengine_client_internals.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/debian/opensync/opensync-0.22/osengine/osengine_client_internals.h b/debian/opensync/opensync-0.22/osengine/osengine_client_internals.h deleted file mode 100644 index 87ffe301..00000000 --- a/debian/opensync/opensync-0.22/osengine/osengine_client_internals.h +++ /dev/null @@ -1,45 +0,0 @@ - -#ifndef DOXYGEN_SHOULD_SKIP_THIS -struct OSyncClient { - OSyncMember *member; - OSyncQueue *commands_to_osplugin; - OSyncQueue *commands_from_osplugin; - OSyncEngine *engine; - - OSyncFlag *fl_connected; - OSyncFlag *fl_sent_changes; - OSyncFlag *fl_done; - OSyncFlag *fl_finished; - OSyncFlag *fl_committed_all; - - pid_t child_pid; - //GList *changes; -}; -#endif - -typedef void (* OSyncPluginReplyHandler) (void *, void *, OSyncError *); - -typedef struct OSyncPluginCallContext { - OSyncPluginReplyHandler handler; - void *userdata; -} OSyncPluginCallContext; - -OSyncClient *osync_client_new(OSyncEngine *engine, OSyncMember *member, OSyncError **error); -void osync_client_free(OSyncClient *client); - -osync_bool osync_client_spawn(OSyncClient *client, OSyncEngine *engine, OSyncError **error); -OSyncEngine *osync_client_get_engine(OSyncClient *client); -void osync_client_call_plugin(OSyncClient *client, char *function, void *data, OSyncPluginReplyHandler replyhandler, void *userdata); - -osync_bool osync_client_init(OSyncClient *client, OSyncEngine *engine, OSyncError **error); -osync_bool osync_client_finalize(OSyncClient *client, OSyncError **error); -OSyncPluginTimeouts osync_client_get_timeouts(OSyncClient *client); -void osync_client_reset(OSyncClient *client); - -osync_bool osync_client_connect(OSyncClient *target, OSyncEngine *sender, OSyncError **error); -osync_bool osync_client_get_changes(OSyncClient *target, OSyncEngine *sender, OSyncError **error); -osync_bool osync_client_committed_all(OSyncClient *target, OSyncEngine *sender, OSyncError **error); -osync_bool osync_client_sync_done(OSyncClient *target, OSyncEngine *sender, OSyncError **error); -osync_bool osync_client_disconnect(OSyncClient *target, OSyncEngine *sender, OSyncError **error); -osync_bool osync_client_commit_change(OSyncClient *target, OSyncEngine *sender, OSyncMappingEntry *entry, OSyncError **error); -osync_bool osync_client_get_change_data(OSyncClient *target, OSyncEngine *sender, OSyncMappingEntry *entry, OSyncError **error); |