Previous section.

Protocols for Interworking: XNFS, Version 3W
Copyright © 1998 The Open Group

Name

NLM_GRANTED_RES - Lock Granted Result

Call Arguments

struct nlm_res { netobj cookie; nlm_stat stat; };

Return Arguments

None.

RPC Procedure Description

void NLM_GRANTED_RES(nlm_res) = 15;

Description

This procedure is one of the asynchronous RPCs. Unlike the other asynchronous calls it is called by the client (not the server). With this call, the client provides the return values for the NLM_GRANTED_MSG procedure, previously called by the server.

See NLM_LOCK_MSG for more information.

The client must send the nlm_res structure to the server with "stat" set to one of the following values:

LCK_GRANTED
Indicates that the procedure completed successfully.

LCK_DENIED
Indicates that the procedure failed, possibly due to the client not being able to match "alock" from the NLM_GRANTED_MSG call with any outstanding lock requests or lack of internal resources.

LCK_DENIED_GRACE_PERIOD

Indicates that the procedure failed because the client host (the host making the lock request) has recently been rebooted and its NLM is re-establishing existing locks and is not yet ready to accept normal service requests.


Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.

Contents Next section Index