authd: crap, C was taken already, rename reload to H.
This commit is contained in:
parent
187643195c
commit
8dc9aa85b6
4 changed files with 9 additions and 6 deletions
|
@ -28,7 +28,7 @@ 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] = {
|
||||||
['C'] = handle_reload,
|
['H'] = handle_reload,
|
||||||
['D'] = resolve_dns,
|
['D'] = resolve_dns,
|
||||||
['S'] = handle_stat,
|
['S'] = handle_stat,
|
||||||
};
|
};
|
||||||
|
|
|
@ -169,7 +169,7 @@
|
||||||
/* Define to 1 if you have the `socketpair' function. */
|
/* Define to 1 if you have the `socketpair' function. */
|
||||||
#undef HAVE_SOCKETPAIR
|
#undef HAVE_SOCKETPAIR
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdbool.h> header file. */
|
/* Define to 1 if stdbool.h conforms to C99. */
|
||||||
#undef HAVE_STDBOOL_H
|
#undef HAVE_STDBOOL_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <stddef.h> header file. */
|
/* Define to 1 if you have the <stddef.h> header file. */
|
||||||
|
@ -241,6 +241,9 @@
|
||||||
/* This value is set to 1 to indicate that the system argz facility works */
|
/* This value is set to 1 to indicate that the system argz facility works */
|
||||||
#undef HAVE_WORKING_ARGZ
|
#undef HAVE_WORKING_ARGZ
|
||||||
|
|
||||||
|
/* Define to 1 if the system has the type `_Bool'. */
|
||||||
|
#undef HAVE__BOOL
|
||||||
|
|
||||||
/* Prefix where help files are installed. */
|
/* Prefix where help files are installed. */
|
||||||
#undef HELP_DIR
|
#undef HELP_DIR
|
||||||
|
|
||||||
|
|
|
@ -330,7 +330,7 @@ reload_nameservers(void)
|
||||||
/* Shit */
|
/* Shit */
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
rb_helper_write(authd_helper, "C D");
|
rb_helper_write(authd_helper, "H D");
|
||||||
init_nameserver_cache();
|
init_nameserver_cache();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -264,12 +264,12 @@
|
||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#undef PACKAGE_VERSION
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
/* Defined to mark profiling is enabled */
|
|
||||||
#undef RB_PROFILE
|
|
||||||
|
|
||||||
/* Prefix where librb is installed. */
|
/* Prefix where librb is installed. */
|
||||||
#undef RB_PREFIX
|
#undef RB_PREFIX
|
||||||
|
|
||||||
|
/* Defined to mark profiling is enabled */
|
||||||
|
#undef RB_PROFILE
|
||||||
|
|
||||||
/* Define to 1 if sockaddr has a 'sa_len' member. */
|
/* Define to 1 if sockaddr has a 'sa_len' member. */
|
||||||
#undef SOCKADDR_IN_HAS_LEN
|
#undef SOCKADDR_IN_HAS_LEN
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue