#include <opensync_plugin.h>
Data Fields | |
osync_bool(* | get_config )(char *, char **, int *) |
osync_bool(* | store_config )(char *, const char *, int) |
osync_bool(* | is_available )(OSyncError **) |
void *(* | initialize )(OSyncMember *, OSyncError **) |
void(* | finalize )(void *) |
void(* | connect )(OSyncContext *) |
void(* | sync_done )(OSyncContext *ctx) |
void(* | disconnect )(OSyncContext *) |
void(* | get_changeinfo )(OSyncContext *) |
void(* | get_data )(OSyncContext *, OSyncChange *) |
Definition at line 5 of file opensync_plugin.h.
osync_bool(* OSyncPluginFunctions::get_config)(char *, char **, int *) |
The function that gets a configuration file for this plugin (optional)
osync_bool(* OSyncPluginFunctions::store_config)(char *, const char *, int) |
The function that stores the configuration file for this plugin (optional)
Referenced by osync_member_save().
osync_bool(* OSyncPluginFunctions::is_available)(OSyncError **) |
A function to check if the backend is available. (optional)
void*(* OSyncPluginFunctions::initialize)(OSyncMember *, OSyncError **) |
The function to initialize the plugin.
Referenced by osync_member_initialize().
void(* OSyncPluginFunctions::finalize)(void *) |
The function to finalize the plugin. The input will be the output of the initialize function
Referenced by osync_member_finalize().
void(* OSyncPluginFunctions::connect)(OSyncContext *) |
Make a connection to your device here
Referenced by osync_member_connect().
void(* OSyncPluginFunctions::sync_done)(OSyncContext *ctx) |
This function gets called if the sync was successfull (Optional)
Referenced by osync_member_sync_done().
void(* OSyncPluginFunctions::disconnect)(OSyncContext *) |
Disconnect from the device
Referenced by osync_member_disconnect().
void(* OSyncPluginFunctions::get_changeinfo)(OSyncContext *) |
Get all available changes here.
Referenced by osync_member_get_changeinfo().
void(* OSyncPluginFunctions::get_data)(OSyncContext *, OSyncChange *) |
Get the data for a change here (Optional)
Referenced by osync_member_get_change_data().