Hi,
with r5378 [1] osync_plugin_info_get_configdir() got dropped. No replacement
for this function is planned. If your plugin is using this function, make sure
you already have ported to latest Hashtable API changes.
I'm not aware of any plugin which is already ported to latest trunk API and
still using osync_plugin_info_get_configdir() (expect SyncML plugin which
"fixed" already. IrMC plugin is not yet ported to latest trunk API - only
using this for old hashtable and anchor implementation).
The reason for dropping this function is to avoid that plugin keep storing
files in the plugin configuration directory. So plugins are "force" to use the
OpenSync API, which makes later maintenance and version updates easier. E.g.
lots of plugins used to store hashtables and anchors in different locations.
Or even implemented their own database on top of sqlite3. With the current API
redesigns there should be no plugin interface which requires direct file
access. This makes things also less depending on sqlite3 - and allows later
easily to move to a different database or change the group/member
implementation without breaking the plugin APU.
If you have any question regarding this change - let me know.
JFYI, if your plugin needs to store/cache specific data (e.g. device
information which get reused on every sync, ...) we plan to provide a new
OSyncDatabase [2] interface which allows to store key=value. (Not planned for
0.39 nor 0.40 - since this implementation wouldn't break any API and can be
added later. If you rely on this interface - please give us feedback!)
[1]
http://opensync.org/changeset/5378[2]
http://opensync.org/ticket/1050Best Regards,
Daniel
------------------------------------------------------------------------------
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel