Cleanup server.h
- All (but the printing/debug functions) are now in snake_case. - Functions made const correct. - All function prototypes now have named arguments. Documentation still to be moved, and file possibly split into include/mascale/server.h and server/core/maxscale/server.h
This commit is contained in:
@ -2602,7 +2602,7 @@ int create_new_server(CONFIG_CONTEXT *obj)
|
||||
|
||||
if (monuser && monpw)
|
||||
{
|
||||
serverAddMonUser(server, monuser, monpw);
|
||||
server_add_mon_user(server, monuser, monpw);
|
||||
}
|
||||
else if (monuser && monpw == NULL)
|
||||
{
|
||||
@ -2656,7 +2656,7 @@ int create_new_server(CONFIG_CONTEXT *obj)
|
||||
{
|
||||
if (!is_normal_server_parameter(params->name))
|
||||
{
|
||||
serverAddParameter(obj->element, params->name, params->value);
|
||||
server_add_parameter(obj->element, params->name, params->value);
|
||||
}
|
||||
params = params->next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user