Grid Community Toolkit  6.2.1705709074 (tag: v6.2.20240202)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
Module Activation Management

Module Activation Management. More...

Data Structures

struct  globus_module_descriptor_s
 Module Descriptor. More...


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

Detailed Description

Module Activation Management.

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.

module_descriptorModule to activate
globus_ftp_client_debug_plugin.example, and globus_ftp_client_restart_plugin.example.
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.

module_arrayNULL-terminated array of module descriptors to activate.
failed_modulePointer to set to the first module whose activation function failed.