Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members  

XPLC_ModuleInfo Struct Reference

Information for an XPLC module. More...

List of all members.

Public Attributes

unsigned long magic
 XPLC module magic number.

unsigned int version_major
 The XPLC module ABI version that this module conforms to.

unsigned int version_minor
 The XPLC module ABI sub-version that this module conforms to.

const char * description
 Description string for the module.

const XPLC_ComponentEntry
*const 
components
 List of components supported by the module.

bool(* loadModule )()
 Hook on module loading.

bool(* unloadModule )()
 Hook on module unloading.


Detailed Description

Information for an XPLC module.


Member Data Documentation

const XPLC_ComponentEntry* const XPLC_ModuleInfo::components
 

List of components supported by the module.

This is a pointer to the list of components that will be made available by this module.

bool(* XPLC_ModuleInfo::loadModule)()
 

Hook on module loading.

If not NULL, the function pointed at by loadModule will be called when loading the module. If the return value is false, the loading will be aborted.

unsigned long XPLC_ModuleInfo::magic
 

XPLC module magic number.

This is to ensure that it is in fact a valid XPLC module that has been loaded.

bool(* XPLC_ModuleInfo::unloadModule)()
 

Hook on module unloading.

If not NULL, the function pointed at by unloadModule will be called before unloading the module. If the return value is false, the unloading will be aborted and the module will be kept in memory.

unsigned int XPLC_ModuleInfo::version_major
 

The XPLC module ABI version that this module conforms to.

This should always be the first member of the XPLC_ModuleInfo structure, as the meaning of the following members depend on it.

unsigned int XPLC_ModuleInfo::version_minor
 

The XPLC module ABI sub-version that this module conforms to.

This is used for optional and backward-compatible changes in the module ABI.


The documentation for this struct was generated from the following file:
Generated on Sun Sep 26 04:02:02 2004 for XPLC by doxygen1.2.18