Certain resources, such as processor sets, are composed of resource components. Informational and ownership attributes of resource components are made available with the pool_component_info() and pool_get_owning_resource() functions. The conf
argument for each function refers to the target configuration to which the operation applies.
The pool_component_info() function returns a string describing component. The string is allocated with malloc(3C).
The caller is reponsible for freeing the returned string. The flags argument is ignored.
The pool_get_owning_resource() function returns the resource currently containing component. Every component is contained by a resource.
|