175631Salfred/*-
275631Salfred * Copyright (c) 1998 Berkeley Software Design, Inc. All rights reserved.
375631Salfred * Redistribution and use in source and binary forms, with or without
475631Salfred * modification, are permitted provided that the following conditions
575631Salfred * are met:
675631Salfred * 1. Redistributions of source code must retain the above copyright
775631Salfred *    notice, this list of conditions and the following disclaimer.
875631Salfred * 2. Redistributions in binary form must reproduce the above copyright
975631Salfred *    notice, this list of conditions and the following disclaimer in the
1075631Salfred *    documentation and/or other materials provided with the distribution.
1175631Salfred * 3. Berkeley Software Design Inc's name may not be used to endorse or
1275631Salfred *    promote products derived from this software without specific prior
1375631Salfred *    written permission.
1475631Salfred *
1575631Salfred * THIS SOFTWARE IS PROVIDED BY BERKELEY SOFTWARE DESIGN INC ``AS IS'' AND
1675631Salfred * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1775631Salfred * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1875631Salfred * ARE DISCLAIMED.  IN NO EVENT SHALL BERKELEY SOFTWARE DESIGN INC BE LIABLE
1975631Salfred * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2075631Salfred * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2175631Salfred * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2275631Salfred * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2375631Salfred * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2475631Salfred * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2575631Salfred * SUCH DAMAGE.
2675631Salfred *
2775631Salfred *      from BSDI nlminfo.h,v 2.1 1998/03/18 01:30:38 don Exp
2875631Salfred * $FreeBSD$
2975631Salfred */
3075631Salfred
3175631Salfred/*
3275631Salfred * Misc NLM informationi, some needed for the master lockd process, and some
3375631Salfred * needed by every process doing nlm based locking.
3475631Salfred */
3575631Salfredstruct  nlminfo {
3675631Salfred	/* these are used by any process doing nlm locking */
3775631Salfred        int             msg_seq;        /* sequence counter for lock requests */
3875631Salfred        int             retcode;        /* return code for lock requests */
3975631Salfred	int		set_getlk_pid;
4075631Salfred	int		getlk_pid;
4175631Salfred        struct  timeval pid_start;      /* process starting time */
4275631Salfred};
43