Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Do
-
None
-
None
Description
Right now the MODULE_INFO struct is not mandatory for a module and is declared as a static variable which is loaded based on its actual name. This means that a module who declares a static MODULE_INFO struct with the name mod_info will not implement it even though it might seem like it does.
The suggested way to improve this is to remove the version entry point from all interfaces and replace it with a new one which returns the address of the MODULE_INFO struct. The version string can be moved into the MODULE_INFO struct and expansions to the MODULE_INFO can be done without expanding the module interface.
Attachments
Issue Links
- blocks
-
MXS-539 Add parameter declarations to modules
-
- Closed
-