globus_module(3)

✨ NAME ✨

globus_module β€” Module Activation Management πŸ’–

like, it's the module activation management situation. that's the whole vibe. Module Activation Management, bestie. πŸŽ€


🌸 SYNOPSIS 🌸

πŸ¦‹ Data Structures

  • struct globus_module_descriptor_s β€” the Module Descriptor. iconic little struct, does exactly what it says on the tin. πŸ’…

🧚 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. 🫢


πŸ’œ Detailed Description πŸ’œ

Module Activation Management. that's it, that's the description. no notes. 😭


πŸ”₯ Function Documentation πŸ”₯

⭐ int globus_module_activate (globus_module_descriptor_t * module_descriptor)

Activate a module. okay so what this does is it adds a reference to the module named by module_descriptor to the list of activated modules. and here's the tea: if this is the first reference to this module, its activation function will be called. first time's the charm, literally. πŸ’–

Parameters

  • module_descriptor β€” the Module to activate. slay.

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

Activate a group of modules. bestie this activates a NULL-terminated array of modules. it's giving group project but everyone actually shows up. πŸŽ€

but listen: if any of them fail to activate, all are deactivated and the error from the failed activation is returned. no half-activated situations, we don't do that here. πŸ™ˆ

and if nonzero is returned, and failed_module is non-NULL, it will be set to point to the 1st module which failed to activate. we found the culprit, no cap. πŸ’€

Parameters

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

⭐ int globus_module_deactivate (globus_module_descriptor_t * module_descriptor)

Deactivate a module. the reverse uno card of the whole page, and it's listed in the SYNOPSIS up there with its full signature so you know it's real. πŸ’…


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for globus_common from the source code. yes, a robot wrote this one. it still ate. πŸ€–βœ¨


okay so that's the whole page, every option, param, and signature intact, no facts harmed in the making of this rewrite. go forth and activate responsibly. πŸ¦‹

globus_common Β· Version 18.15 Β· globus_module(3) β€” mwah, sending this page off with a kiss, periodt. πŸ’–πŸŒΈπŸŽ€

πŸ“¦ where this page comes from