Functions | |
| OSYNC_EXPORT OSyncPluginInfo * | osync_plugin_info_new (OSyncError **error) |
| Create a new plugin info object. | |
| OSYNC_EXPORT OSyncPluginInfo * | osync_plugin_info_ref (OSyncPluginInfo *info) |
| Increase the reference count on a plugin info object. | |
| OSYNC_EXPORT void | osync_plugin_info_unref (OSyncPluginInfo *info) |
| Decrease the reference count on a plugin info object. | |
| OSYNC_EXPORT void | osync_plugin_info_set_loop (OSyncPluginInfo *info, void *loop) |
| Set reference to loop for the specific plugin. | |
| OSYNC_EXPORT void * | osync_plugin_info_get_loop (OSyncPluginInfo *info) |
| Get loop reference of OSyncPluginInfo object. | |
| OSYNC_EXPORT void | osync_plugin_info_set_config (OSyncPluginInfo *info, OSyncPluginConfig *config) |
| Set the plugin configuration data. | |
| OSYNC_EXPORT OSyncPluginConfig * | osync_plugin_info_get_config (OSyncPluginInfo *info) |
| Returns the plugin configuration data. | |
| OSYNC_EXPORT void | osync_plugin_info_set_configdir (OSyncPluginInfo *info, const char *configdir) |
| Set plugin configuration directory. | |
| OSYNC_EXPORT const char * | osync_plugin_info_get_configdir (OSyncPluginInfo *info) |
| Returns the plugin configuration directory. | |
| OSYNC_EXPORT OSyncObjTypeSink * | osync_plugin_info_find_objtype (OSyncPluginInfo *info, const char *name) |
| Find ObjTypeSink of corresponding Object Type in OSyncPluginInfo object. | |
| OSYNC_EXPORT void | osync_plugin_info_add_objtype (OSyncPluginInfo *info, OSyncObjTypeSink *sink) |
| Adds an object type (sink) to a plugin. | |
| OSYNC_EXPORT unsigned int | osync_plugin_info_num_objtypes (OSyncPluginInfo *info) |
| Returns the number of added object types (sinks). | |
| OSYNC_EXPORT OSyncObjTypeSink * | osync_plugin_info_nth_objtype (OSyncPluginInfo *info, unsigned int nth) |
| Returns the nth added object type (sink). | |
| OSYNC_EXPORT OSyncObjTypeSink * | osync_plugin_info_get_main_sink (OSyncPluginInfo *info) |
| Returns the Main Sink. | |
| OSYNC_EXPORT void | osync_plugin_info_set_main_sink (OSyncPluginInfo *info, OSyncObjTypeSink *sink) |
| Sets the Main Sink. | |
| OSYNC_EXPORT OSyncFormatEnv * | osync_plugin_info_get_format_env (OSyncPluginInfo *info) |
| Returns the plugin format conversion environment. | |
| OSYNC_EXPORT void | osync_plugin_info_set_format_env (OSyncPluginInfo *info, OSyncFormatEnv *env) |
| Set Format Environment for OSyncPluginInfo object. | |
| OSYNC_EXPORT OSyncObjTypeSink * | osync_plugin_info_get_sink (OSyncPluginInfo *info) |
| Returns the currently running sink. | |
| OSYNC_EXPORT void | osync_plugin_info_set_sink (OSyncPluginInfo *info, OSyncObjTypeSink *sink) |
| Sets the current OSyncObjTypeSink. | |
| OSYNC_EXPORT void | osync_plugin_info_set_groupname (OSyncPluginInfo *info, const char *groupname) |
| Set Group Name for plugin info object. | |
| OSYNC_EXPORT const char * | osync_plugin_info_get_groupname (OSyncPluginInfo *info) |
| Get Group Name of the OSyncPluginInfo object. | |
| OSYNC_EXPORT void | osync_plugin_info_set_version (OSyncPluginInfo *info, OSyncVersion *version) |
| Set OSyncVersion for OSyncPluginInfo object. | |
| OSYNC_EXPORT OSyncVersion * | osync_plugin_info_get_version (OSyncPluginInfo *info) |
| Get OSyncVersion of the OSyncPluginInfo object. | |
| OSYNC_EXPORT void | osync_plugin_info_set_capabilities (OSyncPluginInfo *info, OSyncCapabilities *capabilities) |
| Set OSyncCapabilities of the OSyncPluginInfo object. | |
| OSYNC_EXPORT OSyncCapabilities * | osync_plugin_info_get_capabilities (OSyncPluginInfo *info) |
| Get OSyncCapabilities of the OSyncPluginInfo object. | |
| OSYNC_EXPORT OSyncPluginInfo* osync_plugin_info_new | ( | OSyncError ** | error | ) |
Create a new plugin info object.
| error | Pointer to an error struct |
Definition at line 31 of file opensync_plugin_info.c.
| OSYNC_EXPORT OSyncPluginInfo* osync_plugin_info_ref | ( | OSyncPluginInfo * | info | ) |
Increase the reference count on a plugin info object.
| info | Pointer to the plugin info object |
Definition at line 42 of file opensync_plugin_info.c.
| OSYNC_EXPORT void osync_plugin_info_unref | ( | OSyncPluginInfo * | info | ) |
Decrease the reference count on a plugin info object.
| info | Pointer to the plugin info object |
Definition at line 51 of file opensync_plugin_info.c.
| OSYNC_EXPORT void osync_plugin_info_set_loop | ( | OSyncPluginInfo * | info, | |
| void * | loop | |||
| ) |
Set reference to loop for the specific plugin.
| info | Pointer to the plugin info object | |
| loop | Pointer to the loop which get set for specified OSyncPluginInfo object |
Definition at line 87 of file opensync_plugin_info.c.
| OSYNC_EXPORT void* osync_plugin_info_get_loop | ( | OSyncPluginInfo * | info | ) |
Get loop reference of OSyncPluginInfo object.
| info | Pointer to the plugin info object |
Definition at line 93 of file opensync_plugin_info.c.
| OSYNC_EXPORT void osync_plugin_info_set_config | ( | OSyncPluginInfo * | info, | |
| OSyncPluginConfig * | config | |||
| ) |
Set the plugin configuration data.
| info | Pointer to the plugin info object | |
| config | Plugin configuration |
Definition at line 99 of file opensync_plugin_info.c.
| OSYNC_EXPORT OSyncPluginConfig* osync_plugin_info_get_config | ( | OSyncPluginInfo * | info | ) |
Returns the plugin configuration data.
| info | Pointer to the plugin info object |
Definition at line 111 of file opensync_plugin_info.c.
| OSYNC_EXPORT void osync_plugin_info_set_configdir | ( | OSyncPluginInfo * | info, | |
| const char * | configdir | |||
| ) |
Set plugin configuration directory.
| info | Pointer to the plugin info object | |
| configdir | Configuration directory to set |
Definition at line 117 of file opensync_plugin_info.c.
| OSYNC_EXPORT const char* osync_plugin_info_get_configdir | ( | OSyncPluginInfo * | info | ) |
Returns the plugin configuration directory.
| info | Pointer to the plugin info object |
Definition at line 125 of file opensync_plugin_info.c.
Referenced by osync_objtype_sink_load_anchor().
| OSYNC_EXPORT OSyncObjTypeSink* osync_plugin_info_find_objtype | ( | OSyncPluginInfo * | info, | |
| const char * | name | |||
| ) |
Find ObjTypeSink of corresponding Object Type in OSyncPluginInfo object.
| info | Pointer to the OSyncPluginInfo object | |
| name | Name of the Object Type |
Definition at line 145 of file opensync_plugin_info.c.
| OSYNC_EXPORT void osync_plugin_info_add_objtype | ( | OSyncPluginInfo * | info, | |
| OSyncObjTypeSink * | sink | |||
| ) |
Adds an object type (sink) to a plugin.
| info | Pointer to the plugin info object | |
| sink | The sink to add |
Definition at line 167 of file opensync_plugin_info.c.
| OSYNC_EXPORT unsigned int osync_plugin_info_num_objtypes | ( | OSyncPluginInfo * | info | ) |
Returns the number of added object types (sinks).
| info | Pointer to the plugin info object |
Definition at line 174 of file opensync_plugin_info.c.
| OSYNC_EXPORT OSyncObjTypeSink* osync_plugin_info_nth_objtype | ( | OSyncPluginInfo * | info, | |
| unsigned int | nth | |||
| ) |
Returns the nth added object type (sink).
| info | Pointer to the plugin info object | |
| nth | the index of the object type (sink) to return |
Definition at line 180 of file opensync_plugin_info.c.
| OSYNC_EXPORT OSyncObjTypeSink* osync_plugin_info_get_main_sink | ( | OSyncPluginInfo * | info | ) |
Returns the Main Sink.
| info | Pointer to the plugin info object |
Definition at line 186 of file opensync_plugin_info.c.
| OSYNC_EXPORT void osync_plugin_info_set_main_sink | ( | OSyncPluginInfo * | info, | |
| OSyncObjTypeSink * | sink | |||
| ) |
Sets the Main Sink.
| info | Pointer to the plugin info object | |
| sink | The OSyncObjTypeSink which acts as Main Sink |
Definition at line 192 of file opensync_plugin_info.c.
| OSYNC_EXPORT OSyncFormatEnv* osync_plugin_info_get_format_env | ( | OSyncPluginInfo * | info | ) |
Returns the plugin format conversion environment.
| info | Pointer to the plugin info object |
Definition at line 213 of file opensync_plugin_info.c.
| OSYNC_EXPORT void osync_plugin_info_set_format_env | ( | OSyncPluginInfo * | info, | |
| OSyncFormatEnv * | env | |||
| ) |
Set Format Environment for OSyncPluginInfo object.
| info | Pointer to the plugin info object | |
| env | Pointer to Format environment which gets assigned to the OSyncPluginInfo object |
Definition at line 219 of file opensync_plugin_info.c.
| OSYNC_EXPORT OSyncObjTypeSink* osync_plugin_info_get_sink | ( | OSyncPluginInfo * | info | ) |
Returns the currently running sink.
| info | Pointer to the plugin info object |
Definition at line 200 of file opensync_plugin_info.c.
| OSYNC_EXPORT void osync_plugin_info_set_sink | ( | OSyncPluginInfo * | info, | |
| OSyncObjTypeSink * | sink | |||
| ) |
Sets the current OSyncObjTypeSink.
| info | Pointer to the plugin info object | |
| sink | The OSyncObjTypeSink which should act as current OSyncObjTypeSink |
Definition at line 206 of file opensync_plugin_info.c.
| OSYNC_EXPORT void osync_plugin_info_set_groupname | ( | OSyncPluginInfo * | info, | |
| const char * | groupname | |||
| ) |
Set Group Name for plugin info object.
| info | Pointer to the plugin info object | |
| groupname | Group name |
Definition at line 131 of file opensync_plugin_info.c.
| OSYNC_EXPORT const char* osync_plugin_info_get_groupname | ( | OSyncPluginInfo * | info | ) |
Get Group Name of the OSyncPluginInfo object.
| info | Pointer to the OSyncPluginInfo object |
Definition at line 139 of file opensync_plugin_info.c.
| OSYNC_EXPORT void osync_plugin_info_set_version | ( | OSyncPluginInfo * | info, | |
| OSyncVersion * | version | |||
| ) |
Set OSyncVersion for OSyncPluginInfo object.
| info | Pointer to the plugin info object | |
| version | Pointer to OSyncVersion |
Definition at line 229 of file opensync_plugin_info.c.
| OSYNC_EXPORT OSyncVersion* osync_plugin_info_get_version | ( | OSyncPluginInfo * | info | ) |
Get OSyncVersion of the OSyncPluginInfo object.
| info | Pointer to the plugin info object |
Definition at line 241 of file opensync_plugin_info.c.
| OSYNC_EXPORT void osync_plugin_info_set_capabilities | ( | OSyncPluginInfo * | info, | |
| OSyncCapabilities * | capabilities | |||
| ) |
Set OSyncCapabilities of the OSyncPluginInfo object.
| info | Pointer to the plugin info object | |
| capabilities | Pointer to the capabilities |
Definition at line 247 of file opensync_plugin_info.c.
| OSYNC_EXPORT OSyncCapabilities* osync_plugin_info_get_capabilities | ( | OSyncPluginInfo * | info | ) |
Get OSyncCapabilities of the OSyncPluginInfo object.
| info | Pointer to the plugin info object |
Definition at line 259 of file opensync_plugin_info.c.
1.5.7.1