Rename MODULE_INFO to MXS_MODULE
The MODULE_INFO is now the main object which is used by modules to convey information to the MaxScale core. The MXS_MODULE name is more apt as it now contains the actual module definition. The old MODULES structure was moved into load_utils.c as an internal implementation and was renamed so that it is not confused with the new MODULE structure.
This commit is contained in:
@ -45,6 +45,7 @@
|
||||
#include <regex.h>
|
||||
#include <maxscale/modules.h>
|
||||
#include <maxscale/maxscale_test.h>
|
||||
#include "../load_utils.c"
|
||||
|
||||
static char* server_options[] =
|
||||
{
|
||||
@ -72,7 +73,6 @@ static char* server_groups[] =
|
||||
|
||||
int config_load(char *);
|
||||
void config_enable_feedback_task(void);
|
||||
int module_create_feedback_report(GWBUF **buffer, MODULES *modules, FEEDBACK_CONF *cfg);
|
||||
int do_http_post(GWBUF *buffer, void *cfg);
|
||||
|
||||
int main(int argc, char** argv)
|
||||
|
Reference in New Issue
Block a user