xref: /netbsd-src/sys/arch/i386/stand/lib/bootmenu.h (revision f2766c1123268a6aedfc1e92c08517b876be8f9e)
1*f2766c11Swiz /*	$NetBSD: bootmenu.h,v 1.7 2022/06/08 21:55:51 wiz Exp $	*/
244435f5aSad 
344435f5aSad /*-
444435f5aSad  * Copyright (c) 2008 The NetBSD Foundation, Inc.
544435f5aSad  * All rights reserved.
644435f5aSad  *
744435f5aSad  * Redistribution and use in source and binary forms, with or without
844435f5aSad  * modification, are permitted provided that the following conditions
944435f5aSad  * are met:
1044435f5aSad  * 1. Redistributions of source code must retain the above copyright
1144435f5aSad  *    notice, this list of conditions and the following disclaimer.
1244435f5aSad  * 2. Redistributions in binary form must reproduce the above copyright
1344435f5aSad  *    notice, this list of conditions and the following disclaimer in the
1444435f5aSad  *    documentation and/or other materials provided with the distribution.
1544435f5aSad  *
1644435f5aSad  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
1744435f5aSad  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
1844435f5aSad  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1944435f5aSad  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
2044435f5aSad  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2144435f5aSad  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2244435f5aSad  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2344435f5aSad  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2444435f5aSad  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2544435f5aSad  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2644435f5aSad  * POSSIBILITY OF SUCH DAMAGE.
2744435f5aSad  */
2844435f5aSad 
2944435f5aSad #ifndef _BOOTMENU_H
3044435f5aSad #define _BOOTMENU_H
3144435f5aSad 
3244435f5aSad #define COMMAND_SEPARATOR ';'
3344435f5aSad 
3495e6c117Snonaka int parsebootconf(const char *);
3544435f5aSad void doboottypemenu(void);
3644435f5aSad 
3744435f5aSad #endif /* !_BOOTMENU_H */
38