« Return to Thread: [trunk] [API] dropped osync_plugin_info_get_configdir (#1083)

Re: [trunk] [API] dropped osync_plugin_info_get_configdir (#1083)

by Chris Frey-2 :: Rate this Message:

Reply to Author | View in Thread

On Sat, Mar 28, 2009 at 04:10:50PM +0100, Daniel Gollub wrote:
> 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!)

The Barry plugin relies on this function to store its cache and ID map.
These are just simple text files at the moment:  the cache is a list of
known record ID's in the Blackberry, and the idmap is a map of Blackberry
record ID's to opensync ID's (key/value).

Your above paragraph makes it sound like there is no key/value API
currently existing.  What is the best way to handle this?

Thanks,
- Chris


------------------------------------------------------------------------------
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

 « Return to Thread: [trunk] [API] dropped osync_plugin_info_get_configdir (#1083)