0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-31 02:48:58 +01:00

authd: plug in new C type.

This commit is contained in:
Elizabeth Myers 2016-03-10 08:09:16 -06:00
parent 8dc9aa85b6
commit cafe4dd8df

View file

@ -20,6 +20,7 @@
#include "authd.h" #include "authd.h"
#include "dns.h" #include "dns.h"
#include "provider.h"
#define MAXPARA 10 #define MAXPARA 10
@ -28,8 +29,9 @@ static void handle_stat(int parc, char *parv[]);
rb_helper *authd_helper = NULL; rb_helper *authd_helper = NULL;
authd_cmd_handler authd_cmd_handlers[256] = { authd_cmd_handler authd_cmd_handlers[256] = {
['H'] = handle_reload, ['C'] = handle_new_connection,
['D'] = resolve_dns, ['D'] = resolve_dns,
['H'] = handle_reload,
['S'] = handle_stat, ['S'] = handle_stat,
}; };