X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=nlm%2Fnlm.x;h=fb0d0613080e6b1314f59534d8c2d1336295a34e;hb=2faefcac23a1e1d5c600688a87753aae8cab2f14;hp=e8a28804fe5cf3b691891885565afaf94880534e;hpb=e01ed6a239175772baf904d66105766f825fc1d4;p=deb_libnfs.git diff --git a/nlm/nlm.x b/nlm/nlm.x index e8a2880..fb0d061 100644 --- a/nlm/nlm.x +++ b/nlm/nlm.x @@ -51,18 +51,22 @@ struct nlm4_share { }; -struct nlm4_testres_ok { - nlm_cookie cookie; +struct nlm4_testres_denied { nlm4_holder holder; }; -union NLM4_TESTres switch (nlmstat4 status) { - case NLM4_GRANTED: - nlm4_testres_ok lock; +union nlm4_testreply switch (nlmstat4 status) { + case NLM4_DENIED: + nlm4_testres_denied lock; default: void; }; +struct NLM4_TESTres { + nlm_cookie cookie; + nlm4_testreply reply; +}; + struct NLM4_TESTargs { nlm_cookie cookie; bool exclusive;