X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fstatd%2Fstatd.h;h=ace2ce507043e113ec8c771098ded3c1f107252a;hp=ef90bdd48380488afc844e3089cdb4a849da7952;hb=93608a52655abf5ac23404c4b5cc05fe575a9c04;hpb=55ce21003ee0fb12fe5ef70909cdc8ce00b803e4 diff --git a/utils/statd/statd.h b/utils/statd/statd.h index ef90bdd..ace2ce5 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" @@ -78,10 +81,13 @@ extern int run_mode; /* 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 * as to why they're global. */ extern char *name_p; /* program basename */ -extern char *version_p; /* program version */ +extern const char *version_p; /* program version */ + +extern int re_notify; /* time to re-read notify list */