summaryrefslogtreecommitdiff
path: root/lib/librpcsvc/nlm_prot.x
diff options
context:
space:
mode:
authorNikolay Sturm <sturm@cvs.openbsd.org>2008-06-15 04:41:40 +0000
committerNikolay Sturm <sturm@cvs.openbsd.org>2008-06-15 04:41:40 +0000
commit68286c95d107239e71e467d08aff75fa9d85c6fd (patch)
tree17e7aeab86409c4c6fcbd29949f6851fe10e7f97 /lib/librpcsvc/nlm_prot.x
parent90079a6cb96f7f6e3fe7deb6e70c4909eaeb23c0 (diff)
add a procedure NLM_SM_NOTIFY (in version 0), used by statd to send
notifications to lockd. from NetBSD bump minor "just get it in" deraadt
Diffstat (limited to 'lib/librpcsvc/nlm_prot.x')
-rw-r--r--lib/librpcsvc/nlm_prot.x12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/librpcsvc/nlm_prot.x b/lib/librpcsvc/nlm_prot.x
index 9627e598a29..82a278b0918 100644
--- a/lib/librpcsvc/nlm_prot.x
+++ b/lib/librpcsvc/nlm_prot.x
@@ -1,4 +1,4 @@
-/* $OpenBSD: nlm_prot.x,v 1.7 2008/06/14 01:10:43 deraadt Exp $ */
+/* $OpenBSD: nlm_prot.x,v 1.8 2008/06/15 04:41:39 sturm Exp $ */
#ifdef RPC_HDR
%#define LM_MAXSTRLEN 1024
@@ -218,7 +218,17 @@ struct nlm4_shareres {
int sequence;
};
+struct nlm_sm_status {
+ string mon_name<LM_MAXSTRLEN>;
+ int state;
+ opaque priv[16];
+};
+
program NLM_PROG {
+ version NLM_SM {
+ void NLM_SM_NOTIFY(struct nlm_sm_status) = 1;
+ } = 0;
+
version NLM_VERS {
nlm_testres NLM_TEST(struct nlm_testargs) = 1;