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:
@ -599,7 +599,7 @@ int gssapi_auth_load_users(SERV_LISTENER *listener)
|
||||
/**
|
||||
* Module handle entry point
|
||||
*/
|
||||
MODULE_INFO* MXS_CREATE_MODULE()
|
||||
MXS_MODULE* MXS_CREATE_MODULE()
|
||||
{
|
||||
static GWAUTHENTICATOR MyObject =
|
||||
{
|
||||
@ -613,10 +613,10 @@ MODULE_INFO* MXS_CREATE_MODULE()
|
||||
gssapi_auth_load_users /* Load database users */
|
||||
};
|
||||
|
||||
static MODULE_INFO info =
|
||||
static MXS_MODULE info =
|
||||
{
|
||||
MODULE_API_AUTHENTICATOR,
|
||||
MODULE_GA,
|
||||
MXS_MODULE_API_AUTHENTICATOR,
|
||||
MXS_MODULE_GA,
|
||||
GWAUTHENTICATOR_VERSION,
|
||||
"GSSAPI authenticator",
|
||||
"V1.0.0",
|
||||
|
@ -263,7 +263,7 @@ static int gssapi_backend_auth_authenticate(DCB *dcb)
|
||||
/**
|
||||
* Module handle entry point
|
||||
*/
|
||||
MODULE_INFO* MXS_CREATE_MODULE()
|
||||
MXS_MODULE* MXS_CREATE_MODULE()
|
||||
{
|
||||
static GWAUTHENTICATOR MyObject =
|
||||
{
|
||||
@ -277,10 +277,10 @@ MODULE_INFO* MXS_CREATE_MODULE()
|
||||
NULL /* Load users from backend databases */
|
||||
};
|
||||
|
||||
static MODULE_INFO info =
|
||||
static MXS_MODULE info =
|
||||
{
|
||||
MODULE_API_AUTHENTICATOR,
|
||||
MODULE_GA,
|
||||
MXS_MODULE_API_AUTHENTICATOR,
|
||||
MXS_MODULE_GA,
|
||||
GWAUTHENTICATOR_VERSION,
|
||||
"GSSAPI backend authenticator",
|
||||
"V1.0.0",
|
||||
|
Reference in New Issue
Block a user