cp_extension_t Struct Reference
Data structures
Collaboration diagram for cp_extension_t:
[legend]

## Data Fields

cp_plugin_info_t * | plugin
| A pointer to plug-in information containing this extension. More...
char * | ext_point_id
| The unique identifier of the extension point this extension is attached to. More...
char * | local_id
| An optional local identifier uniquely identifying the extension within the host plug-in. More...
char * | identifier
| An optional unique identifier of the extension. More...
char * | name
| An optional extension name. More...
cp_cfg_element_t * | configuration
| Extension configuration starting with the extension element. More...

## Detailed Description

Extension structure captures information about an extension. Extension structures are contained in cp_plugin_info_t::extensions.

## Field Documentation

## plugin

cp_plugin_info_t* plugin

A pointer to plug-in information containing this extension.

This reverse pointer is provided to make it easy to get information about the plug-in which is hosting a particular extension.

## ext_point_id

char* ext_point_id

The unique identifier of the extension point this extension is attached to.

This corresponds to the point attribute of an extension element in a plug-in descriptor.

## local_id

char* local_id

An optional local identifier uniquely identifying the extension within the host plug-in.

NULL if not available. This corresponds to the id attribute of an extension element in a plug-in descriptor.

## identifier

char* identifier

An optional unique identifier of the extension.

NULL if not available. This is automatically constructed by concatenating the identifier of the host plug-in and the local identifier of the extension.

## name

char* name

An optional extension name.

NULL if not available. The extension name is intended for display purposes only and the value can be localized. This corresponds to the name attribute of an extension element in a plug-in descriptor.

## configuration

cp_cfg_element_t* configuration

Extension configuration starting with the extension element.

This includes extension configuration information as a tree of configuration elements. These correspond to the extension element and its contents in a plug-in descriptor.

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

- cpluff.h

Generated on Sun May 3 2020 12:13:55 for C-Pluff C API by 1.8.17