xref: /openbsd/usr.sbin/config/misc.h (revision f7dd4d03)
1*f7dd4d03Stedu /*	$OpenBSD: misc.h,v 1.5 2019/05/14 13:44:25 tedu Exp $	*/
235319decSderaadt 
335319decSderaadt /*
435319decSderaadt  * Copyright (c) 1997 Tobias Weingartner
535319decSderaadt  * All rights reserved.
635319decSderaadt  *
735319decSderaadt  * Redistribution and use in source and binary forms, with or without
835319decSderaadt  * modification, are permitted provided that the following conditions
935319decSderaadt  * are met:
1035319decSderaadt  * 1. Redistributions of source code must retain the above copyright
1135319decSderaadt  *    notice, this list of conditions and the following disclaimer.
1235319decSderaadt  * 2. Redistributions in binary form must reproduce the above copyright
1335319decSderaadt  *    notice, this list of conditions and the following disclaimer in the
1435319decSderaadt  *    documentation and/or other materials provided with the distribution.
1535319decSderaadt  *
1635319decSderaadt  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1735319decSderaadt  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1835319decSderaadt  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1935319decSderaadt  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2035319decSderaadt  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2135319decSderaadt  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2235319decSderaadt  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2335319decSderaadt  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2435319decSderaadt  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2535319decSderaadt  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2635319decSderaadt  */
2735319decSderaadt 
2835319decSderaadt #ifndef _MISC_H
2935319decSderaadt #define _MISC_H
3035319decSderaadt 
3135319decSderaadt #include <sys/types.h>
3235319decSderaadt #include "cmd.h"
3335319decSderaadt 
3435319decSderaadt /* Prototypes */
35c72b5b24Smillert int ask_cmd(cmd_t *);
36*f7dd4d03Stedu int parse_cmd(cmd_t *, char *);
37c72b5b24Smillert int ask_yn(const char *);
3835319decSderaadt 
39fd0d495eSheko #endif /* _MISC_H */
4035319decSderaadt 
41