From: <svn...@op...> - 2009-06-21 23:37:01
|
Author: dgollub Date: Mon Jun 22 01:36:54 2009 New Revision: 5681 URL: http://www.opensync.org/changeset/5681 Log: Exported osync_capabilities_objtype_new to public API. For plugin discovery function refs #1084 Modified: branches/opensync-ticket1084/opensync.sym branches/opensync-ticket1084/opensync/capabilities/opensync_capabilities_objtype.h branches/opensync-ticket1084/opensync/capabilities/opensync_capabilities_objtype_internals.h Modified: branches/opensync-ticket1084/opensync.sym ============================================================================== --- branches/opensync-ticket1084/opensync.sym Mon Jun 22 01:29:13 2009 (r5680) +++ branches/opensync-ticket1084/opensync.sym Mon Jun 22 01:36:54 2009 (r5681) @@ -2,6 +2,7 @@ osync_capabilities_get_objtype osync_capabilities_new osync_capabilities_objtype_get_caps +osync_capabilities_objtype_new osync_capabilities_ref osync_capabilities_unref osync_capability_get_displayname Modified: branches/opensync-ticket1084/opensync/capabilities/opensync_capabilities_objtype.h ============================================================================== --- branches/opensync-ticket1084/opensync/capabilities/opensync_capabilities_objtype.h Mon Jun 22 01:29:13 2009 (r5680) +++ branches/opensync-ticket1084/opensync/capabilities/opensync_capabilities_objtype.h Mon Jun 22 01:36:54 2009 (r5681) @@ -32,6 +32,15 @@ */ /*@{*/ + +/** + * @brief Creates a new capabilities object type object + * @param error The error which will hold the info in case of an error + * @return The pointer to the newly allocated capabilities object type object or NULL in case of error + */ + +OSYNC_EXPORT OSyncCapabilitiesObjType *osync_capabilities_objtype_new(OSyncCapabilities *capabilities, const char *objtype, OSyncError **error); + OSYNC_EXPORT OSyncList *osync_capabilities_objtype_get_caps(OSyncCapabilitiesObjType *capsobjtype); /*@}*/ Modified: branches/opensync-ticket1084/opensync/capabilities/opensync_capabilities_objtype_internals.h ============================================================================== --- branches/opensync-ticket1084/opensync/capabilities/opensync_capabilities_objtype_internals.h Mon Jun 22 01:29:13 2009 (r5680) +++ branches/opensync-ticket1084/opensync/capabilities/opensync_capabilities_objtype_internals.h Mon Jun 22 01:36:54 2009 (r5681) @@ -33,15 +33,6 @@ /*@{*/ /** - * @brief Creates a new capabilities object type object - * @param error The error which will hold the info in case of an error - * @return The pointer to the newly allocated capabilities object type object or NULL in case of error - */ - -OSYNC_TEST_EXPORT OSyncCapabilitiesObjType *osync_capabilities_objtype_new(OSyncCapabilities *capabilities, const char *objtype, OSyncError **error); - - -/** * @brief Creates a new capabilitiesobjtype object * @param capabilities The pointer to a capabilities object * @param node The ObjType XML node |