a few more nebie questions

"Stefan Huber" <[email protected]>
Newsgroups gmane.comp.gnome.apps.multisync.devel
Message-ID <[email protected]>
Hi,

i have a few questions to the sync mechanism:

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. 

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.

Please help me. Untill the function 'notes_addr_get_changes(changes, conn,
notes_get_changes_done)' I think I understood most, but there is the root I
have to code the own comparison stuff. If I know to beginn, and how all the
structs work together, so that changes can be found between two plugins, I will
begin coding easier.  

Thx,

Stefan!

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz



-------------------------------------------------------
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_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.