Update OpenSync plugin 0.4x to be compliant with OpenSync.
commitaacbcddce11ba5b05988aa602d616902581acf86
authorNicolas VIVIEN <nicolas@vivien.fr>
Sun, 1 Mar 2009 17:44:50 +0000 (1 18:44 +0100)
committerChris Frey <cdfrey@foursquare.net>
Wed, 4 Mar 2009 02:35:29 +0000 (3 21:35 -0500)
tree357815cc9bdf95b264eb37024aa0274b4d2ba14e
parent2be3fc4e6e24f243a8364161408c81bc791b1e4b
Update OpenSync plugin 0.4x to be compliant with OpenSync.

Indeed, the opensync's API has been updated (revision r5277)

The function "osync_objtype_sink_get_userdata" has been removed from the
API. Now, the user data is passed to all objtype sink functions.

Sample :
static void connect(OSyncObjTypeSink *sink, OSyncPluginInfo *info, OSyncContext *ctx, void *userdata)

"userdata" has to be set with the "osync_objtype_sink_set_functions"
function (third parameter).
opensync-plugin-0.4x/src/barry_sync.cc