Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "bootstrap" method, and clean up module API.
The bootstrap method is where attributes are created at run time. This allows OTHER modules to use those attributes. All modules in the "modules" section are now dlopen'd, their instance data allocated, configuration is parsed, and the bootstrap method is called. Once all of the modules are bootstrapped, the module "instantiate" method is called. As part of this change, we simplify the API to: module_find = find a known module module_bootstrap = load and create a known module module_instantiate - call the modules instantiation routine
- Loading branch information
Showing
13 changed files
with
152 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.