Partial merge of MXS-70

This commit is contained in:
Markus Makela
2015-08-10 17:05:52 +03:00
parent 7cfb83554f
commit 0abcf349ff
5 changed files with 132 additions and 55 deletions

View File

@ -2480,3 +2480,12 @@ void config_add_param(CONFIG_CONTEXT* obj, char* key,char* value)
nptr->next = obj->parameters;
obj->parameters = nptr;
}
/**
* Return the pointer to the global options for MaxScale.
* @return Pointer to the GATEWAY_CONF structure. This is a static structure and
* should not be modified.
*/
GATEWAY_CONF* config_get_global_options()
{
return &gateway;
}