[trunk] osync_plugin_env_register_plugin() and osync_plugin_env_register_*() API changes

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

[trunk] osync_plugin_env_register_plugin() and osync_plugin_env_register_*() API changes

by Daniel Gollub-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

to make the 0.40-API more future-proof and avoid unnecessary breaks once we
freeze following change was made, which affects all sync and format plugins:

http://opensync.org/changeset/5772

Porting instruction:


Following function got additionally as last Parameter OSyncError** and the return
value got changed from void to osync_bool:

osync_format_env_register_objformat
osync_format_env_register_converter
osync_format_env_register_caps_converter
osync_format_env_register_merger

osync_plugin_env_register_plugin

If the function return FALSE, check the OSyncError** struct for any error.

Reference Port: http://opensync.org/changeset/5778


This API break was part of the API-cleanup-sprint:
http://opensync.org/ticket/1087#comment:36

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