1*12769637Sminoura /* $NetBSD: methods.h,v 1.1.1.1 1999/06/21 15:56:03 minoura Exp $ */ 2*12769637Sminoura 3*12769637Sminoura /*- 4*12769637Sminoura * Copyright (c) 1999 The NetBSD Foundation, Inc. 5*12769637Sminoura * All rights reserved. 6*12769637Sminoura * 7*12769637Sminoura * This code is derived from software contributed to The NetBSD Foundation 8*12769637Sminoura * by Minoura Makoto. 9*12769637Sminoura * 10*12769637Sminoura * Redistribution and use in source and binary forms, with or without 11*12769637Sminoura * modification, are permitted provided that the following conditions 12*12769637Sminoura * are met: 13*12769637Sminoura * 1. Redistributions of source code must retain the above copyright 14*12769637Sminoura * notice, this list of conditions and the following disclaimer. 15*12769637Sminoura * 2. Redistributions in binary form must reproduce the above copyright 16*12769637Sminoura * notice, this list of conditions and the following disclaimer in the 17*12769637Sminoura * documentation and/or other materials provided with the distribution. 18*12769637Sminoura * 3. All advertising materials mentioning features or use of this software 19*12769637Sminoura * must display the following acknowledgement: 20*12769637Sminoura * This product includes software developed by the NetBSD 21*12769637Sminoura * Foundation, Inc. and its contributors. 22*12769637Sminoura * 4. Neither the name of The NetBSD Foundation nor the names of its 23*12769637Sminoura * contributors may be used to endorse or promote products derived 24*12769637Sminoura * from this software without specific prior written permission. 25*12769637Sminoura * 26*12769637Sminoura * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 27*12769637Sminoura * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 28*12769637Sminoura * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 29*12769637Sminoura * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 30*12769637Sminoura * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 31*12769637Sminoura * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 32*12769637Sminoura * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 33*12769637Sminoura * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 34*12769637Sminoura * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 35*12769637Sminoura * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 36*12769637Sminoura * POSSIBILITY OF SUCH DAMAGE. 37*12769637Sminoura */ 38*12769637Sminoura 39*12769637Sminoura 40*12769637Sminoura int atoi_ __P((char*)); 41*12769637Sminoura 42*12769637Sminoura int fill_uchar __P((struct property*)); 43*12769637Sminoura int fill_ushort __P((struct property*)); 44*12769637Sminoura int fill_ulong __P((struct property*)); 45*12769637Sminoura 46*12769637Sminoura int flush_uchar __P((struct property*)); 47*12769637Sminoura int flush_ushort __P((struct property*)); 48*12769637Sminoura int flush_ulong __P((struct property*)); 49*12769637Sminoura int flush_dummy __P((struct property*)); 50*12769637Sminoura 51*12769637Sminoura int parse_dummy __P((struct property*, const char*)); 52*12769637Sminoura int parse_uchar __P((struct property*, const char*)); 53*12769637Sminoura int parse_ushort __P((struct property*, const char*)); 54*12769637Sminoura int parse_ulong __P((struct property*, const char*)); 55*12769637Sminoura int parse_byte __P((struct property*, const char*)); 56*12769637Sminoura int parse_time __P((struct property*, const char*)); 57*12769637Sminoura int parse_bootdev __P((struct property*, const char*)); 58*12769637Sminoura 59*12769637Sminoura int print_uchar __P((struct property*, char*)); 60*12769637Sminoura int print_ucharh __P((struct property*, char*)); 61*12769637Sminoura int print_ushorth __P((struct property*, char*)); 62*12769637Sminoura int print_ulong __P((struct property*, char*)); 63*12769637Sminoura int print_ulongh __P((struct property*, char*)); 64*12769637Sminoura int print_magic __P((struct property*, char*)); 65*12769637Sminoura int print_timesec __P((struct property*, char*)); 66*12769637Sminoura int print_bootdev __P((struct property*, char*)); 67