xref: /freebsd/usr.sbin/rpc.lockd/lockd.h (revision 2a63c3be158216222d89a073dcbd6a72ee4aab5a)
14945c132SAlfred Perlstein /*	$NetBSD: lockd.h,v 1.2 2000/06/07 14:34:40 bouyer Exp $	*/
24945c132SAlfred Perlstein 
3*df57947fSPedro F. Giffuni /*-
4*df57947fSPedro F. Giffuni  * SPDX-License-Identifier: BSD-4-Clause
5*df57947fSPedro F. Giffuni  *
64945c132SAlfred Perlstein  * Copyright (c) 1995
74945c132SAlfred Perlstein  *	A.R. Gordon (andrew.gordon@net-tel.co.uk).  All rights reserved.
84945c132SAlfred Perlstein  *
94945c132SAlfred Perlstein  * Redistribution and use in source and binary forms, with or without
104945c132SAlfred Perlstein  * modification, are permitted provided that the following conditions
114945c132SAlfred Perlstein  * are met:
124945c132SAlfred Perlstein  * 1. Redistributions of source code must retain the above copyright
134945c132SAlfred Perlstein  *    notice, this list of conditions and the following disclaimer.
144945c132SAlfred Perlstein  * 2. Redistributions in binary form must reproduce the above copyright
154945c132SAlfred Perlstein  *    notice, this list of conditions and the following disclaimer in the
164945c132SAlfred Perlstein  *    documentation and/or other materials provided with the distribution.
174945c132SAlfred Perlstein  * 3. All advertising materials mentioning features or use of this software
184945c132SAlfred Perlstein  *    must display the following acknowledgement:
194945c132SAlfred Perlstein  *	This product includes software developed for the FreeBSD project
204945c132SAlfred Perlstein  * 4. Neither the name of the author nor the names of any co-contributors
214945c132SAlfred Perlstein  *    may be used to endorse or promote products derived from this software
224945c132SAlfred Perlstein  *    without specific prior written permission.
234945c132SAlfred Perlstein  *
244945c132SAlfred Perlstein  * THIS SOFTWARE IS PROVIDED BY ANDREW GORDON AND CONTRIBUTORS ``AS IS'' AND
254945c132SAlfred Perlstein  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
264945c132SAlfred Perlstein  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
274945c132SAlfred Perlstein  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
284945c132SAlfred Perlstein  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
294945c132SAlfred Perlstein  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
304945c132SAlfred Perlstein  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
314945c132SAlfred Perlstein  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
324945c132SAlfred Perlstein  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
334945c132SAlfred Perlstein  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
344945c132SAlfred Perlstein  * SUCH DAMAGE.
354945c132SAlfred Perlstein  *
364945c132SAlfred Perlstein  */
374945c132SAlfred Perlstein 
384945c132SAlfred Perlstein extern int	debug_level;
394945c132SAlfred Perlstein extern int	grace_expired;
404945c132SAlfred Perlstein pid_t	client_request(void);
414945c132SAlfred Perlstein extern int nsm_state;
424945c132SAlfred Perlstein extern pid_t client_pid;
43