[MXS-538] Expand the MODULE_INFO structure Created: 2016-01-08 Updated: 2017-12-01 Resolved: 2016-11-22 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | N/A |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | New Feature | Priority: | Major |
| Reporter: | markus makela | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Epic Link: | Dynamic Configuration of MaxScale | ||||||||
| 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. |
| Comments |
| Comment by Johan Wikman [ 2016-11-22 ] |
|
This was created for 1.4. Either this is not relevant at the moment or there are now other tasks that covers this, so closing this as obsolete. |