struct nlm4_holder * testlock(struct nlm4_lock *lock, bool_t exclusive,
int flags);
enum nlm_stats getlock(nlm4_lockargs *lckarg, struct svc_req *rqstp,
const int flags);
enum nlm_stats unlock(nlm4_lock *lock, const int flags);
int lock_answer(int pid, netobj *netcookie, int result, int *pid_p,
int version);
void notify(const char *hostname, const int state);
#define LOCK_ASYNC 0x01
#define LOCK_V4 0x02
#define LOCK_MON 0x04
#define LOCK_CANCEL 0x08
void transmit_result(int, nlm_res *, struct sockaddr *);
void transmit4_result(int, nlm4_res *, struct sockaddr *);
CLIENT *get_client(struct sockaddr *, rpcvers_t);