Hi, Again you should remember that that your plugin only has to worry about itself and the sync engine, not any other plugins.
On Wed, 2004-03-24 at 04:40, Stefan Huber wrote: > 1) Do I have to use the vCard specification for the addressbook part in my > plugin. I can extract the data of the persons in my addressbook as normal > string-data so far. But now I donÂt know if I should nest it in the vCard > syntax, that the other plugins do understand it. Oh, before I should tell > everybody, that I use Lotus Notes under Wine. Yes. The sync engine talks vCard for addressbook, so you have to supply your changes in that format and you get changes back in that format. Some of the plugins do conversion to/from vCard/[v,i]Cal, for example Opie and LDAP. > > 2) I tried to understand the evolution-plugin, so that I can use the most of > it for my own plugin. But as long I view the code I donÂt understand a few > things. I think the sync_connect()-part I have modified correct to my > requirements so far. But I have a lot of problems with the get_changes()-part. The > biggest mystery to me is how it works to get the changes between two plugins > (thus the most important thing =) ). Do both of the plugins put their data in a > char variable of a struct and then a function compares the data, or how does > it work. You only have to be concerned with your plugin. From get_changes() you must return all of the changes that have occurred on your side since the last sync. Either what you are syncing with can tell you this information directly (ideal) or you have to keep track of it yourself. The sync engine takes care of comparison and providing you any add/modify/delete afterward in syncobj_modify() and syncobj_delete(). Tom ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Multisync-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/multisync-devel