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.