summaryrefslogtreecommitdiffstats
path: root/utils/statd/notlist.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-03-20 10:09:50 +1100
committerNeil Brown <neilb@suse.de>2007-03-20 10:09:50 +1100
commitf113db5225e2954a53fd7eecccfc08326904909f (patch)
treedb9172bd41480895eeda606b32335fb1263348fa /utils/statd/notlist.h
parent19d85885b9eba376c7fc96c2f0b69c22776ba077 (diff)
downloadnfs-utils-f113db5225e2954a53fd7eecccfc08326904909f.tar.gz
nfs-utils-f113db5225e2954a53fd7eecccfc08326904909f.tar.xz
nfs-utils-f113db5225e2954a53fd7eecccfc08326904909f.zip
Remove notify functionality from statd in favour of sm-notify
statd now execs sm-notify to notify peers and only listens to monitor requests and remote notifications itself.
Diffstat (limited to 'utils/statd/notlist.h')
-rw-r--r--utils/statd/notlist.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/utils/statd/notlist.h b/utils/statd/notlist.h
index 911c092..12962af 100644
--- a/utils/statd/notlist.h
+++ b/utils/statd/notlist.h
@@ -20,14 +20,10 @@ struct notify_list {
struct notify_list *prev; /* Linked list backward pointer. */
u_int32_t xid; /* XID of MS_NOTIFY RPC call */
time_t when; /* notify: timeout for re-xmit */
- int type; /* type of notify (REBOOT/CALLBACK) */
};
typedef struct notify_list notify_list;
-#define NOTIFY_REBOOT 0 /* notify remote of our reboot */
-#define NOTIFY_CALLBACK 1 /* notify client of remote reboot */
-
/*
* Global Variables
*/
@@ -67,4 +63,3 @@ extern notify_list * nlist_gethost(notify_list *, char *, int);
#define NL_MY_PROG(L) (NL_MY_ID((L)).my_prog)
#define NL_MY_VERS(L) (NL_MY_ID((L)).my_vers)
#define NL_WHEN(L) ((L)->when)
-#define NL_TYPE(L) ((L)->type)