xref: /netbsd-src/usr.sbin/ypserv/common/protos.h (revision ce099b40997c43048fb78bd578195f81d2456523)
1*ce099b40Smartin /*	$NetBSD: protos.h,v 1.6 2008/04/28 20:24:18 martin Exp $	*/
260aa689cSthorpej 
360aa689cSthorpej /*-
460aa689cSthorpej  * Copyright (c) 1996 The NetBSD Foundation, Inc.
560aa689cSthorpej  * All rights reserved.
660aa689cSthorpej  *
760aa689cSthorpej  * This code is derived from software contributed to The NetBSD Foundation
860aa689cSthorpej  * by Jason R. Thorpe.
960aa689cSthorpej  *
1060aa689cSthorpej  * Redistribution and use in source and binary forms, with or without
1160aa689cSthorpej  * modification, are permitted provided that the following conditions
1260aa689cSthorpej  * are met:
1360aa689cSthorpej  * 1. Redistributions of source code must retain the above copyright
1460aa689cSthorpej  *    notice, this list of conditions and the following disclaimer.
1560aa689cSthorpej  * 2. Redistributions in binary form must reproduce the above copyright
1660aa689cSthorpej  *    notice, this list of conditions and the following disclaimer in the
1760aa689cSthorpej  *    documentation and/or other materials provided with the distribution.
1860aa689cSthorpej  *
1960aa689cSthorpej  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
2060aa689cSthorpej  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
2160aa689cSthorpej  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2287f4ccd4Sjtc  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
2387f4ccd4Sjtc  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2460aa689cSthorpej  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2560aa689cSthorpej  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2660aa689cSthorpej  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2760aa689cSthorpej  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2860aa689cSthorpej  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2960aa689cSthorpej  * POSSIBILITY OF SUCH DAMAGE.
3060aa689cSthorpej  */
3160aa689cSthorpej 
325c90fa67Swiz void	localhostname(char *, size_t);
33