X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fstatd%2Fstatd.h;h=441eaaa60b00b0490e74e6511df6fc976ee8609c;hb=6b82a93f2dc7f303103540babb74a75e41b84008;hp=d9d5d3d230575e320572c8b3dd2cb0fbc0c3805f;hpb=f73e7b9f69835d483cee95e6a20b6307b9d16b77;p=nfs-utils.git diff --git a/utils/statd/statd.h b/utils/statd/statd.h index d9d5d3d..441eaaa 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" @@ -79,12 +82,11 @@ extern int run_mode; * 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 */ - +#define MODE_NO_NOTIFY 16 /* Don't notify peers of a reboot */ /* * 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 */