globus_module man page

globus_module — Module Activation Management

Data Structures

struct globus_module_descriptor_s
Module Descriptor.

Functions

int globus_module_activate (globus_module_descriptor_t *module_descriptor)
Activate a module.
int globus_module_activate_array (globus_module_descriptor_t *module_array[], globus_module_descriptor_t **failed_module)
Activate a group of modules.
int globus_module_deactivate (globus_module_descriptor_t *module_descriptor)
Deactivate a module.

Function Documentation

int globus_module_activate (globus_module_descriptor_t * module_descriptor)

Activate a module. Add a reference to the module named by module_descriptor to the list of activated modules. If this is the first reference to this module, its activation function will be called.

Parameters:

module_descriptor Module to activate

int globus_module_activate_array (globus_module_descriptor_t * module_array[], globus_module_descriptor_t ** failed_module)

Activate a group of modules. Activate an NULL-terminated array of modules. If any fail to activate, all are deactivated and the error from the failed activation is returned. If nonzero is returned, and failed_module is non-NULL, it will be set to point to the 1st module which failed to activate.

Parameters:

module_array NULL-terminated array of module descriptors to activate.
failed_module Pointer to set to the first module whose activation function failed.

Author

Generated automatically by Doxygen for globus_common from the source code.

Referenced By

globus_module_activate(3) and globus_module_activate_array(3) are aliases of globus_module(3).

Sat Nov 5 2016 Version 16.8 globus_common