advcap.h revision 1.5
11.5Sitojun/* $NetBSD: advcap.h,v 1.5 2002/05/29 14:40:31 itojun Exp $ */ 21.5Sitojun/* $KAME: advcap.h,v 1.4 2001/06/08 04:46:19 jinmei Exp $ */ 31.2Sitojun 41.1Sitojun/* 51.1Sitojun * Copyright (C) 1994,1995 by Andrey A. Chernov, Moscow, Russia. 61.1Sitojun * All rights reserved. 71.1Sitojun * 81.1Sitojun * Redistribution and use in source and binary forms, with or without 91.1Sitojun * modification, are permitted provided that the following conditions 101.1Sitojun * are met: 111.1Sitojun * 1. Redistributions of source code must retain the above copyright 121.1Sitojun * notice, this list of conditions and the following disclaimer. 131.1Sitojun * 2. Redistributions in binary form must reproduce the above copyright 141.1Sitojun * notice, this list of conditions and the following disclaimer in the 151.1Sitojun * documentation and/or other materials provided with the distribution. 161.1Sitojun * 171.1Sitojun * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND 181.1Sitojun * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 191.1Sitojun * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 201.1Sitojun * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE 211.1Sitojun * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 221.1Sitojun * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 231.1Sitojun * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 241.1Sitojun * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 251.1Sitojun * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 261.1Sitojun * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 271.1Sitojun * SUCH DAMAGE. 281.1Sitojun */ 291.1Sitojun 301.1Sitojun/* Based on Id: termcap.h,v 1.8 1996/09/10 12:42:10 peter Exp */ 311.1Sitojun 321.1Sitojun#ifndef _ADVCAP_H_ 331.1Sitojun#define _ADVCAP_H_ 341.1Sitojun 351.1Sitojun#include <sys/cdefs.h> 361.1Sitojun 371.1Sitojun__BEGIN_DECLS 381.1Sitojun 391.1Sitojunextern int agetent __P((char *, const char *)); 401.1Sitojunextern int agetflag __P((const char *)); 411.5Sitojunextern int64_t agetnum __P((const char *)); 421.1Sitojunextern char *agetstr __P((const char *, char **)); 431.1Sitojun 441.1Sitojun__END_DECLS 451.1Sitojun 461.1Sitojun#endif /* _ADVCAP_H_ */ 47