From: Michael B. <mic...@cm...> - 2008-03-27 13:44:31
|
Hi Heikki, Heikki Lindholm wrote: > I need to make a syncml engine handling only vcards but being able to > handle many clients at the same time. > > I thought I could be using libsyncml. There seems to be parsing > routines, like > smlParserStart > smlParserGetHeader > smlParserGetCommand > smlParserGetStatus > > but e.g. details of the elements parsed, like SmlHeader, are hidden in > ..._internals.h files and those headers are not installed. These functions should not be published. The SyncML protocol stuff is completely handled by the library. We simply need to reduce our header files to a minimum. So why do you want to access SyncML directly. The vcards are only binary blobs for the library. Which must be encapsulated and send. > What would be the correct way to approach the parsing and assembling? This is automatically done by the library. All the transport stuff is done by libsyncml. SyncML is not fully transparent in terms of the transport protocol. Therefore we have to implement the XML/WBXML and the transport specifications. Best regards Michael -- _______________________________________________________________ Michael Bell Humboldt-Universitaet zu Berlin Tel.: +49 (0)30-2093 2482 ZE Computer- und Medienservice Fax: +49 (0)30-2093 2704 Unter den Linden 6 mic...@cm... D-10099 Berlin _______________________________________________________________ X.509 CA Certificates / Wurzelzertifikate http://ra.pki.hu-berlin.de |