MXS-1842 Compile all authenticators as C++
Minimal changes, only what is needed to compile.
This commit is contained in:
@ -152,7 +152,8 @@ static json_t* pam_auth_diagnostic_json(const SERV_LISTENER *listener)
|
||||
return inst->diagnostic_json();
|
||||
}
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
extern "C"
|
||||
{
|
||||
/**
|
||||
* Module handle entry point
|
||||
*/
|
||||
@ -191,4 +192,5 @@ MXS_MODULE* MXS_CREATE_MODULE()
|
||||
|
||||
return &info;
|
||||
}
|
||||
MXS_END_DECLS
|
||||
|
||||
}
|
||||
|
@ -71,7 +71,8 @@ static int pam_backend_auth_authenticate(DCB *dcb)
|
||||
return pses->authenticate(dcb);
|
||||
}
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
extern "C"
|
||||
{
|
||||
/**
|
||||
* Module handle entry point
|
||||
*/
|
||||
@ -110,4 +111,5 @@ MXS_MODULE* MXS_CREATE_MODULE()
|
||||
|
||||
return &info;
|
||||
}
|
||||
MXS_END_DECLS
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user