libsyncml 0.4.5 is ready. Late as usual. The new release includes some new features:

- New Callback for DS Session Events:

+typedef void (* SmlDsSessionEventCb) (SmlDsSession *dsession, SmlDsEvent event, void *userdata);
+void smlDsSessionGetEvent(SmlDsSession *dsession, SmlDsSessionEventCb eventCallback, void *userdata);

- DevInf and CTCap support. This allows to prase the capabilities of a SyncML device in a comfortable way:

+ void smlDevInfAddCTCap(SmlDevInf *devinf, SmlDevInfCTCapType type, const char*value);
+unsigned int smlDevInfNumCTCaps(SmlDevInf *devinf);
+SmlDevInfCTCapType smlDevInfGetNthCTCapType(SmlDevInf *devinf, unsigned int nth);
+const char *smlDevInfGetNthCTCapValue(SmlDevInf *devinf, unsigned int nth);
+
+SmlDevInfCTCapType smlDevInfCTCapTypeFromString(const char *name, SmlError **error);
+const char *smlDevInfCTCapTypeToString(SmlDevInfCTCapType type, SmlError **error);

Roadmap:

- get some new experimental code into libsyncml to support more mobiles:

  • Teleca SyncML Client support (aka. Samsung)
  • Improved SyncML 1.2 support

- fixing the unittest (there are some test broken for a while now ...)

Thanks to Jürg Billeter (DevInf?, CTCap Support), parahl (DS Even Callback) and everyone who helped on testing and developing libsyncml.

http://libsyncml.opensync.org/wiki/download