Struct Descriptions
The currently available structures are described in detail in this section.
CDP_FrameworkServices
-
struct
CDP_FrameworkServices
Aggregates the services that the plugin framework provides to the plugin.
This includes version of the plugin API, registering data providers and functions for logging and reporting information on the plugin itself. This struct is passed to each plugin at initialization time.
Public Members
-
cdp_int_t
pluginApiMajorVer
Major version of the framework plugin API.
-
cdp_int_t
pluginApiMinorVer
Minor version of the framework plugin API.
-
CDP_RegisterProviderFunc
registerProviderFunc
Function for registering data providers.
-
CDP_LogFunc
logFunc
Function pointer for log function.
-
CDP_SetPluginInfoFunc
setPluginInfoFunc
Function pointer for communicating plugin info.
-
cdp_int_t
CDP_RegisterProviderParams
-
struct
CDP_RegisterProviderParams
Parameter struct utilized when registering data providers.
Public Members
-
cdp_int_t
pluginApiMajorVer
Major version of the framework plugin API for which this plugin was written.
-
cdp_int_t
pluginApiMinorVer
Minor version of the framework plugin API for which this plugin was written.
-
CDPDataProviderFactory *
providerFactoryObj
Pointer to CDPDataProviderFactory object that allows creation/destruction of CDPDataProvider instances.
-
CDP_DestroyProviderFactoryFunc
destroyProviderFactoryFunc
Pointer to function that should be used to delete providerFactoryObj.
-
cdp_int_t