| Hardware Locality (hwloc) 2.11.2
    | 
#include <plugins.h>
| Data Fields | |
| unsigned | abi | 
| int(* | init )(unsigned long flags) | 
| void(* | finalize )(unsigned long flags) | 
| hwloc_component_type_t | type | 
| unsigned long | flags | 
| void * | data | 
Generic component structure.
Generic components structure, either statically listed by configure in static-components.h or dynamically loaded as a plugin.
| unsigned hwloc_component::abi | 
Component ABI version, set to HWLOC_COMPONENT_ABI.
| void* hwloc_component::data | 
Component data, pointing to a struct hwloc_disc_component or struct hwloc_xml_component.
| void(* hwloc_component::finalize) (unsigned long flags) | 
Process-wide component termination callback.
This optional callback is called after unregistering the component from the hwloc core (before unloading the plugin).
flags is always 0 for now.
| unsigned long hwloc_component::flags | 
Component flags, unused for now.
| int(* hwloc_component::init) (unsigned long flags) | 
Process-wide component initialization callback.
This optional callback is called when the component is registered to the hwloc core (after loading the plugin).
When the component is built as a plugin, this callback should call hwloc_check_plugin_namespace() and return an negative error code on error.
flags is always 0 for now.
| hwloc_component_type_t hwloc_component::type | 
Component type.