repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NLM : add raw function for NLM4 CANCEL
[deb_libnfs.git]
/
nlm
/
nlm.x
diff --git
a/nlm/nlm.x
b/nlm/nlm.x
index e8a28804fe5cf3b691891885565afaf94880534e..bcbed9cfe96574eccae2f4eb25686f3a1954cdb8 100644
(file)
--- a/
nlm/nlm.x
+++ b/
nlm/nlm.x
@@
-50,25
+50,40
@@
struct nlm4_share {
unsigned int access;
};
unsigned int access;
};
-
-struct nlm4_testres_ok {
- nlm_cookie cookie;
+struct nlm4_testres_denied {
nlm4_holder holder;
};
nlm4_holder holder;
};
-union
NLM4_TESTres
switch (nlmstat4 status) {
- case NLM4_
GRANT
ED:
- nlm4_testres_
ok
lock;
+union
nlm4_testreply
switch (nlmstat4 status) {
+ case NLM4_
DENI
ED:
+ nlm4_testres_
denied
lock;
default:
void;
};
default:
void;
};
+struct NLM4_TESTres {
+ nlm_cookie cookie;
+ nlm4_testreply reply;
+};
+
struct NLM4_TESTargs {
nlm_cookie cookie;
bool exclusive;
nlm4_lock lock;
};
struct NLM4_TESTargs {
nlm_cookie cookie;
bool exclusive;
nlm4_lock lock;
};
+struct NLM4_CANCres {
+ nlm_cookie cookie;
+ nlmstat4 status;
+};
+
+struct NLM4_CANCargs {
+ nlm_cookie cookie;
+ bool block;
+ bool exclusive;
+ nlm4_lock lock;
+};
+
program NLM_PROGRAM {
version NLM_V4 {
void
program NLM_PROGRAM {
version NLM_V4 {
void
@@
-80,8
+95,8
@@
program NLM_PROGRAM {
/* nlm4_res */
/* NLM4_LOCK(nlm4_lockargs) = 2; */
/* nlm4_res */
/* NLM4_LOCK(nlm4_lockargs) = 2; */
-/* nlm4_res */
-/* NLM4_CANCEL(nlm4_cancargs) = 3; */
+ NLM4_CANCres
+ NLM4_CANCEL(NLM4_CANCargs) = 3;
/* nlm4_res */
/* NLM4_UNLOCK(nlm4_unlockargs) = 4; */
/* nlm4_res */
/* NLM4_UNLOCK(nlm4_unlockargs) = 4; */
@@
-95,8
+110,8
@@
program NLM_PROGRAM {
/* void */
/* NLM4_LOCK_MSG(nlm4_lockargs) = 7; */
/* void */
/* NLM4_LOCK_MSG(nlm4_lockargs) = 7; */
-/* void */
-/* NLM4_CANCEL_MSG(nlm4_cancargs) = 8; */
+ void
+ NLM4_CANCEL_MSG(NLM4_CANCargs) = 8;
/* void */
/* NLM4_UNLOCK_MSG(nlm4_unlockargs) = 9; */
/* void */
/* NLM4_UNLOCK_MSG(nlm4_unlockargs) = 9; */
@@
-110,8
+125,8
@@
program NLM_PROGRAM {
/* void */
/* NLM4_LOCK_RES(nlm4_res) = 12; */
/* void */
/* NLM4_LOCK_RES(nlm4_res) = 12; */
-/* void */
-/* NLM4_CANCEL_RES(nlm4_res) = 13; */
+ void
+ NLM4_CANCEL_RES(NLM4_CANCres) = 13;
/* void */
/* NLM4_UNLOCK_RES(nlm4_res) = 14; */
/* void */
/* NLM4_UNLOCK_RES(nlm4_res) = 14; */