Plug-in import structures are contained in cp_plugin_info_t::imports.
| Data Fields | |
| char * | plugin_id | 
| The identifier of the imported plug-in. | |
| char * | version | 
| An optional version requirement. | |
| int | optional | 
| Is this import optional. | |
| char* plugin_id | 
The identifier of the imported plug-in.
This corresponds to the plugin attribute of the import element in a plug-in descriptor.
| char* version | 
An optional version requirement.
NULL if no version requirement. This is the version of the imported plug-in the importing plug-in was compiled against. Any version of the imported plug-in that is backwards compatible with this version fulfills the requirement. This corresponds to the if-version attribute of the import element in a plug-in descriptor.
| int optional | 
Is this import optional.
1 for optional and 0 for mandatory import. An optional import causes the imported plug-in to be started if it is available but does not stop the importing plug-in from starting if the imported plug-in is not available. If the imported plug-in is available but the API version conflicts with the API version requirement then the importing plug-in fails to start. This corresponds to the optional attribute of the import element in a plug-in descriptor.
Generated on Fri Apr 6 15:40:57 2007 for C-Pluff C API by  1.5.1
 1.5.1