]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/statd/statd.h
Support --ha-callout for high-availability callouts
[nfs-utils.git] / utils / statd / statd.h
index 5e2b6fd0679491e106d7458a6e9c9d295f126f25..e7829722257d75800517bec1b1d1d565a6d93e1e 100644 (file)
@@ -73,7 +73,7 @@ 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
@@ -85,3 +85,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 */