config root man

Current Path : /usr/src/usr.sbin/rpc.lockd/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/src/usr.sbin/rpc.lockd/lockd_lock.h

/*	$NetBSD: lockd_lock.h,v 1.2 2000/06/09 14:00:54 fvdl Exp $	*/
/*	$FreeBSD: release/9.1.0/usr.sbin/rpc.lockd/lockd_lock.h 92909 2002-03-21 22:52:45Z alfred $ */

/* Headers and function declarations for file-locking utilities */

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);

/* flags for testlock, getlock & unlock */
#define LOCK_ASYNC	0x01 /* async version (getlock only) */
#define LOCK_V4 	0x02 /* v4 version */
#define LOCK_MON 	0x04 /* monitored lock (getlock only) */
#define LOCK_CANCEL 0x08 /* cancel, not unlock request (unlock only) */

/* callbacks from lock_proc.c */
void	transmit_result(int, nlm_res *, struct sockaddr *);
void	transmit4_result(int, nlm4_res *, struct sockaddr *);
CLIENT  *get_client(struct sockaddr *, rpcvers_t);

Man Man