MXS-1220: Implement JSON diagnostics entry point in autheticators

All autheticators now implement the JSON version of the diagnostics
function.
This commit is contained in:
Markus Mäkelä
2017-04-18 06:39:32 +03:00
committed by Markus Mäkelä
parent 5e679aa167
commit 4804c975ad
3 changed files with 21 additions and 22 deletions

View File

@ -115,10 +115,9 @@ int users_default_loadusers(SERV_LISTENER *port);
/**
* @brief Default authenticator diagnostic function
*
* @param dcb DCB where data is printed
* @param port Port whose data is to be printed
*/
void users_default_diagnostic(DCB *dcb, SERV_LISTENER *port);
json_t* users_default_diagnostic(SERV_LISTENER *port);
/**
* Print details of the users storage mechanism