Linux Kernel Module API

API Reference

This API provides a way for applications to manually load and unload modules that were bundled with their system.

Module dependencies and running module load scripts are handled automatically. Only the name of the module in question is required.

To load a module, call le_kernelModule_Load. Unloading is similarly handled by le_kernelModule_Unload

An example for loading a module:

le_result_t result = le_kernelModule_Load(moduleName);
LE_FATAL_IF(result != LE_OK, "Could not load the required module, %s.", moduleName);
LE_INFO("Module, %s has been loaded.", moduleName);