OpenSync
0.22
|
Gives information about a plugin. More...
#include <opensync_plugin.h>
Data Fields | |
int | version |
const char * | name |
const char * | longname |
const char * | description |
osync_bool | is_threadsafe |
OSyncPluginFunctions | functions |
OSyncPluginTimeouts | timeouts |
OSyncConfigurationTypes | config_type |
OSyncPlugin * | plugin |
void * | plugin_data |
Gives information about a plugin.
Definition at line 92 of file opensync_plugin.h.
int OSyncPluginInfo::version |
The version of Opensync API this plugin uses
Definition at line 94 of file opensync_plugin.h.
const char* OSyncPluginInfo::name |
The name of this plugin
Definition at line 96 of file opensync_plugin.h.
const char* OSyncPluginInfo::longname |
The longer, more descriptive name of the plugin
Definition at line 98 of file opensync_plugin.h.
const char* OSyncPluginInfo::description |
A short description what the plugin does
Definition at line 100 of file opensync_plugin.h.
osync_bool OSyncPluginInfo::is_threadsafe |
Is this plugin considered thread-safe? (unused atm)
Definition at line 102 of file opensync_plugin.h.
OSyncPluginFunctions OSyncPluginInfo::functions |
The functions of your plugin
Definition at line 104 of file opensync_plugin.h.
OSyncPluginTimeouts OSyncPluginInfo::timeouts |
The timeouts of your plugin
Definition at line 106 of file opensync_plugin.h.
OSyncConfigurationTypes OSyncPluginInfo::config_type |
Does the plugin have configuration options?
Definition at line 108 of file opensync_plugin.h.
OSyncPlugin* OSyncPluginInfo::plugin |
The pointer to the plugin (for internal use)
Definition at line 110 of file opensync_plugin.h.
Referenced by osync_plugin_accept_objformat(), osync_plugin_accept_objtype(), osync_plugin_set_access_objformat(), osync_plugin_set_batch_commit_objformat(), osync_plugin_set_commit_objformat(), osync_plugin_set_committed_all_objformat(), and osync_plugin_set_read_objformat().
void* OSyncPluginInfo::plugin_data |
Plugin-specific data
Can be used when a single module registers many plugins, such as the python-module plugin
Definition at line 116 of file opensync_plugin.h.