[trunk] osync_plugin_config_load_file API change: schemadir parameter

View: New views
1 Messages — Rating Filter:   Alert me  

[trunk] osync_plugin_config_load_file API change: schemadir parameter

by Daniel Gollub-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

here is a (very simple) API change before soft-freezing the OpenSync 0.40-API.

The "const char *schemadir" parameter got dropped from the signature of function
osync_plugin_file_load(). Since this primarily used by unit-testing (internally)
this interface got dropped. OpenSync internal API provides for unit-testing the
newly added function osync_plugin_config_set_schemadir()

-OSYNC_EXPORT osync_bool osync_plugin_config_file_load(OSyncPluginConfig *config, const char *path, const char *schemadir, OSyncError **error);
+OSYNC_EXPORT osync_bool osync_plugin_config_file_load(OSyncPluginConfig *config, const char *path, OSyncError **error);


This was a left over of ticket #1013 (see comment 5) which breaks the trunk API.

Porting instruction for OpenSync Application (plugins are not affected):

 - just drop the parameter from this function call
 - all application (expect opensync unittests) should have called
   this function with schemadir parameter NULL anyway ...


Commit: http://opensync.org/changeset/5765

Best Regards,
Daniel

--
Daniel Gollub                        Geschaeftsfuehrer: Ralph Dehner
FOSS Developer                       Unternehmenssitz:  Vohburg
B1 Systems GmbH                      Amtsgericht:       Ingolstadt
Mobil: +49-(0)-160 47 73 970         Handelsregister:   HRB 3537
EMail: gollub@...          http://www.b1-systems.de

Adresse: B1 Systems GmbH, Osterfeldstraße 7, 85088 Vohburg
http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0xED14B95C2F8CA78D

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel