171333Sitojun/* $FreeBSD$ */ 2118784Sume/* $KAME: advcap.h,v 1.5 2003/06/09 05:40:54 t-momose Exp $ */ 362656Skris 455505Sshin/* 555505Sshin * Copyright (C) 1994,1995 by Andrey A. Chernov, Moscow, Russia. 655505Sshin * All rights reserved. 755505Sshin * 855505Sshin * Redistribution and use in source and binary forms, with or without 955505Sshin * modification, are permitted provided that the following conditions 1055505Sshin * are met: 1155505Sshin * 1. Redistributions of source code must retain the above copyright 1255505Sshin * notice, this list of conditions and the following disclaimer. 1355505Sshin * 2. Redistributions in binary form must reproduce the above copyright 1455505Sshin * notice, this list of conditions and the following disclaimer in the 1555505Sshin * documentation and/or other materials provided with the distribution. 1655505Sshin * 1755505Sshin * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND 1855505Sshin * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1955505Sshin * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2055505Sshin * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE 2155505Sshin * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2255505Sshin * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2355505Sshin * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2455505Sshin * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2555505Sshin * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2655505Sshin * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2755505Sshin * SUCH DAMAGE. 2855505Sshin */ 2955505Sshin 3055505Sshin/* Based on Id: termcap.h,v 1.8 1996/09/10 12:42:10 peter Exp */ 3155505Sshin 3255505Sshin#ifndef _ADVCAP_H_ 3355505Sshin#define _ADVCAP_H_ 3455505Sshin 3555505Sshin#include <sys/cdefs.h> 3655505Sshin 3755505Sshin__BEGIN_DECLS 3855505Sshin 39173412Skevloextern int agetent(char *, const char *); 40173412Skevloextern int agetflag(const char *); 41173412Skevloextern int64_t agetnum(const char *); 42173412Skevloextern char *agetstr(const char *, char **); 4355505Sshin 4455505Sshin__END_DECLS 4555505Sshin 4655505Sshin#endif /* _ADVCAP_H_ */ 47