mirror of
https://github.com/matrix-construct/construct
synced 2024-08-31 05:45:16 +02:00
authd: plug in new C type.
This commit is contained in:
parent
8dc9aa85b6
commit
cafe4dd8df
1 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue