]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/statd/statd.h
rpc.statd: Stop overloading sockfd in utils/statd/rmtcall.c
[nfs-utils.git] / utils / statd / statd.h
index 13c80da4edccad86c1cce5247c08a717efd1892a..5a6e2899c98f8e6fd41e22db171bb0e7318680b0 100644 (file)
@@ -45,15 +45,16 @@ extern char *  SM_STAT_PATH;
  * Function prototypes.
  */
 extern void    change_state(void);
-extern void    do_regist(u_long, void (*)());
 extern void    my_svc_run(void);
 extern void    notify_hosts(void);
 extern void    shuffle_dirs(void);
+extern int     statd_get_socket(void);
 extern int     process_notify_list(void);
 extern int     process_reply(FD_SET_TYPE *);
 extern char *  xstrdup(const char *);
 extern void *  xmalloc(size_t);
 extern void    xunlink (char *, char *, short int);
+extern void    load_state(void);
 
 /*
  * Host status structure and macros.
@@ -82,7 +83,7 @@ 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.