Add diagnostic entry point to authenticators
The authenticators should have a similar way to print diagnostic information as filter and routers do. This allows the authenticators to print the users in their own format. In the future, all the diagnostic entry points should be changed so that they return a structure that contains the information in a standard form. This information can then be formatted in different ways by other modules.
This commit is contained in:
@ -141,12 +141,19 @@ struct subcommand showoptions[] =
|
||||
{0}
|
||||
},
|
||||
{
|
||||
"dbusers", 1, 1, dcb_usersPrint,
|
||||
"Show user statistics",
|
||||
"dbusers", 1, 1, service_print_users,
|
||||
"[deprecated] Show user statistics",
|
||||
"Show statistics and user names for a service's user table.\n"
|
||||
"\t\tExample : show dbusers <service name>",
|
||||
{ARG_TYPE_SERVICE, 0, 0}
|
||||
},
|
||||
{
|
||||
"authenticators", 1, 1, service_print_users,
|
||||
"Show authenticator diagnostics",
|
||||
"Show authenticator diagnostics for a service.\n"
|
||||
"\t\tExample : show authenticators <service name>",
|
||||
{ARG_TYPE_SERVICE, 0, 0}
|
||||
},
|
||||
{
|
||||
"epoll", 0, 0, dprintPollStats,
|
||||
"Show the poll statistics",
|
||||
|
Reference in New Issue
Block a user