OpenSync  0.22
Data Fields
OSyncPluginInfo Struct Reference

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
 
OSyncPluginplugin
 
void * plugin_data
 

Detailed Description

Gives information about a plugin.

Definition at line 92 of file opensync_plugin.h.

Field Documentation

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
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.


The documentation for this struct was generated from the following file: