147742de0SHajimu UMEMOTO /* $KAME: advcap.h,v 1.5 2003/06/09 05:40:54 t-momose Exp $ */ 2b26e03e9SKris Kennaway 31de7b4b8SPedro F. Giffuni /*- 4*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 51de7b4b8SPedro F. Giffuni * 69a4365d0SYoshinobu Inoue * Copyright (C) 1994,1995 by Andrey A. Chernov, Moscow, Russia. 79a4365d0SYoshinobu Inoue * All rights reserved. 89a4365d0SYoshinobu Inoue * 99a4365d0SYoshinobu Inoue * Redistribution and use in source and binary forms, with or without 109a4365d0SYoshinobu Inoue * modification, are permitted provided that the following conditions 119a4365d0SYoshinobu Inoue * are met: 129a4365d0SYoshinobu Inoue * 1. Redistributions of source code must retain the above copyright 139a4365d0SYoshinobu Inoue * notice, this list of conditions and the following disclaimer. 149a4365d0SYoshinobu Inoue * 2. Redistributions in binary form must reproduce the above copyright 159a4365d0SYoshinobu Inoue * notice, this list of conditions and the following disclaimer in the 169a4365d0SYoshinobu Inoue * documentation and/or other materials provided with the distribution. 179a4365d0SYoshinobu Inoue * 189a4365d0SYoshinobu Inoue * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND 199a4365d0SYoshinobu Inoue * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 209a4365d0SYoshinobu Inoue * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 219a4365d0SYoshinobu Inoue * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE 229a4365d0SYoshinobu Inoue * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 239a4365d0SYoshinobu Inoue * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 249a4365d0SYoshinobu Inoue * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 259a4365d0SYoshinobu Inoue * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 269a4365d0SYoshinobu Inoue * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 279a4365d0SYoshinobu Inoue * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 289a4365d0SYoshinobu Inoue * SUCH DAMAGE. 299a4365d0SYoshinobu Inoue */ 309a4365d0SYoshinobu Inoue 319a4365d0SYoshinobu Inoue /* Based on Id: termcap.h,v 1.8 1996/09/10 12:42:10 peter Exp */ 329a4365d0SYoshinobu Inoue 339a4365d0SYoshinobu Inoue #ifndef _ADVCAP_H_ 349a4365d0SYoshinobu Inoue #define _ADVCAP_H_ 359a4365d0SYoshinobu Inoue 369a4365d0SYoshinobu Inoue #include <sys/cdefs.h> 379a4365d0SYoshinobu Inoue 389a4365d0SYoshinobu Inoue __BEGIN_DECLS 399a4365d0SYoshinobu Inoue 40784bddbcSKevin Lo extern int agetent(char *, const char *); 41784bddbcSKevin Lo extern int agetflag(const char *); 42784bddbcSKevin Lo extern int64_t agetnum(const char *); 43784bddbcSKevin Lo extern char *agetstr(const char *, char **); 449a4365d0SYoshinobu Inoue 459a4365d0SYoshinobu Inoue __END_DECLS 469a4365d0SYoshinobu Inoue 479a4365d0SYoshinobu Inoue #endif /* _ADVCAP_H_ */ 48