X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fstatd%2Fstatd.h;h=225cc8b433b9baf3e4a2b52b3548869a57d46421;hp=5e2b6fd0679491e106d7458a6e9c9d295f126f25;hb=ac5b03be829b4c9369ebfb07a688308721103228;hpb=9bea78d8f36cd5ab75d18e32224f0b90a635128c diff --git a/utils/statd/statd.h b/utils/statd/statd.h index 5e2b6fd..225cc8b 100644 --- a/utils/statd/statd.h +++ b/utils/statd/statd.h @@ -5,7 +5,10 @@ * NSM for Linux. */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #include "sm_inter.h" #include "system.h" #include "log.h" @@ -73,11 +76,12 @@ stat_chge SM_stat_chge; extern int run_mode; #define MODE_NODAEMON 1 /* No-daemon/foreground mode. */ #define MODE_LOG_STDERR 2 /* in foreground mode, log to stderr */ -/*#define MODE_NOTIFY_ONLY 4*/ /* Send SM_NOTIFY to everyone monitored on +#define MODE_NOTIFY_ONLY 4 /* Send SM_NOTIFY to everyone monitored on a single interface/alias */ /* LH - notify_only mode would be for notifying hosts on an IP alias * that just came back up, for ex, when failing over a HA service to * another host.... */ +#define STATIC_HOSTNAME 8 /* Always use the hostname set by -n */ /* * Program name and version pointers -- See statd.c for the reasoning @@ -85,3 +89,5 @@ extern int run_mode; */ extern char *name_p; /* program basename */ extern char *version_p; /* program version */ + +extern int re_notify; /* time to re-read notify list */