diff options
Diffstat (limited to 'src/shutdown/hpr.h')
-rw-r--r-- | src/shutdown/hpr.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/shutdown/hpr.h b/src/shutdown/hpr.h index 3dd0375..2c545a5 100644 --- a/src/shutdown/hpr.h +++ b/src/shutdown/hpr.h @@ -4,18 +4,22 @@ #define HPR_H #include <stddef.h> +#include <sys/uio.h> #include <skalibs/tai.h> #include <skalibs/djbunix.h> #include "initctl.h" -#define HPR_WALL_BANNER "\n\n*** WARNING ***\nThe system is going down NOW!\n" +#define HPR_WALL_PRE "\n\n*** WARNING ***\nThe system is going down " +#define HPR_WALL_POST "!\n" +#define HPR_WALL_BANNER HPR_WALL_PRE "NOW" HPR_WALL_POST #define hpr_send(s, n) openwritenclose_unsafe(INITCTL, (s), n) #define hpr_cancel() hpr_send("c", 1) extern int hpr_shutdown (unsigned int, tain_t const *, unsigned int) ; extern void hpr_wall (char const *) ; +extern void hpr_wallv (struct iovec const *, unsigned int) ; extern void hpr_confirm_hostname (void) ; #endif |