aboutsummaryrefslogtreecommitdiff
path: root/sys/nlm/nlm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nlm/nlm.h')
-rw-r--r--sys/nlm/nlm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/nlm/nlm.h b/sys/nlm/nlm.h
index d2c5ee1610a54..379d4ece93444 100644
--- a/sys/nlm/nlm.h
+++ b/sys/nlm/nlm.h
@@ -49,6 +49,12 @@ extern struct timeval nlm_zero_tv;
extern int nlm_nsm_state;
/*
+ * Make a struct netobj.
+ */
+extern void nlm_make_netobj(struct netobj *dst, caddr_t srt,
+ size_t srcsize, struct malloc_type *type);
+
+/*
* Copy a struct netobj.
*/
extern void nlm_copy_netobj(struct netobj *dst, struct netobj *src,
@@ -193,6 +199,12 @@ extern int nlm_do_granted(nlm4_testargs *argp, nlm4_res *result,
struct svc_req *rqstp, CLIENT **rpcp);
/*
+ * Implementation for the granted result RPC. The client may reject the granted
+ * message, in which case we need to handle it appropriately.
+ */
+extern void nlm_do_granted_res(nlm4_res *argp, struct svc_req *rqstp);
+
+/*
* Free all locks associated with the hostname argp->name.
*/
extern void nlm_do_free_all(nlm4_notify *argp);