authd: crap, C was taken already, rename reload to H.

This commit is contained in:
Elizabeth Myers 2016-03-10 08:06:57 -06:00
parent 187643195c
commit 8dc9aa85b6
4 changed files with 9 additions and 6 deletions

View file

@ -28,7 +28,7 @@ static void handle_stat(int parc, char *parv[]);
rb_helper *authd_helper = NULL;
authd_cmd_handler authd_cmd_handlers[256] = {
['C'] = handle_reload,
['H'] = handle_reload,
['D'] = resolve_dns,
['S'] = handle_stat,
};

View file

@ -169,7 +169,7 @@
/* Define to 1 if you have the `socketpair' function. */
#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
/* 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 */
#undef HAVE_WORKING_ARGZ
/* Define to 1 if the system has the type `_Bool'. */
#undef HAVE__BOOL
/* Prefix where help files are installed. */
#undef HELP_DIR

View file

@ -330,7 +330,7 @@ reload_nameservers(void)
/* Shit */
return false;
}
rb_helper_write(authd_helper, "C D");
rb_helper_write(authd_helper, "H D");
init_nameserver_cache();
return true;
}

View file

@ -264,12 +264,12 @@
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Defined to mark profiling is enabled */
#undef RB_PROFILE
/* Prefix where librb is installed. */
#undef RB_PREFIX
/* Defined to mark profiling is enabled */
#undef RB_PROFILE
/* Define to 1 if sockaddr has a 'sa_len' member. */
#undef SOCKADDR_IN_HAS_LEN