MXS-1842 Compile all authenticators as C++
Minimal changes, only what is needed to compile.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
add_library(nullauthdeny SHARED null_auth_deny.c)
|
||||
add_library(nullauthdeny SHARED null_auth_deny.cc)
|
||||
target_link_libraries(nullauthdeny maxscale-common)
|
||||
set_target_properties(nullauthdeny PROPERTIES VERSION "1.0.0")
|
||||
install_module(nullauthdeny core)
|
||||
|
||||
@ -40,6 +40,8 @@ static bool null_auth_is_client_ssl_capable(DCB *dcb);
|
||||
static int null_auth_authenticate(DCB *dcb);
|
||||
static void null_auth_free_client_data(DCB *dcb);
|
||||
|
||||
extern "C"
|
||||
{
|
||||
/**
|
||||
* The module entry point routine. It is this routine that
|
||||
* must populate the structure that is referred to as the
|
||||
@ -86,6 +88,7 @@ MXS_MODULE* MXS_CREATE_MODULE()
|
||||
return &info;
|
||||
}
|
||||
/*lint +e14 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Null authentication of a user.
|
||||
Reference in New Issue
Block a user