Thanks Jussy for your quick reply .
I'm using syncevolution0.8.1 under linux, i tried to make my own user
interface, i maked an option in user interface that allow the user to
cancel synchronization operation.
To do this i send a signal term to syncevolution process in order to
close synchronization session, so i implement a signal catcher that
use the method api syncDone.
Wow, 0.8.1 is an ancient version -- even Debian Stable is on
1.something.. I don't think there even is a real API in syncevolution
0.8.1.
The problem that the next synchronization session is slow sync.How
can i close the sync session with the server "properly" without
launching a slow sync in the next sync session? Is there any method
in the code that allows the client to ask the server to close the
session properly?
I suggest you re-evaluate your syncevolution version requirements:
Current syncevolution is not only vastly better at syncing, it also has
exactly what you need, a proper D-Bus api that includes everything you
need to control SyncML sessions, including "Session.Suspend()".
http://api.syncevolution.org/
Hope this helps,
Jussi