00001 /* 00002 * This code contains changes by 00003 * Gunnar Ritter, Freiburg i. Br., Germany, 2002. All rights reserved. 00004 * 00005 * Conditions 1, 2, and 4 and the no-warranty notice below apply 00006 * to these changes. 00007 * 00008 * 00009 * Copyright (c) 1980, 1993 00010 * The Regents of the University of California. All rights reserved. 00011 * 00012 * Redistribution and use in source and binary forms, with or without 00013 * modification, are permitted provided that the following conditions 00014 * are met: 00015 * 1. Redistributions of source code must retain the above copyright 00016 * notice, this list of conditions and the following disclaimer. 00017 * 2. Redistributions in binary form must reproduce the above copyright 00018 * notice, this list of conditions and the following disclaimer in the 00019 * documentation and/or other materials provided with the distribution. 00020 * 3. All advertising materials mentioning features or use of this software 00021 * must display the following acknowledgement: 00022 * This product includes software developed by the University of 00023 * California, Berkeley and its contributors. 00024 * 4. Neither the name of the University nor the names of its contributors 00025 * may be used to endorse or promote products derived from this software 00026 * without specific prior written permission. 00027 * 00028 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 00029 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00030 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 00031 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 00032 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00033 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 00034 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 00035 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 00036 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 00037 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 00038 * SUCH DAMAGE. 00039 * 00040 * 00041 * Header for termcap routines derived from 2.11 BSD. 00042 */ 00043 00044 #ifndef __LIBTERM_H__ 00045 #define __LIBTERM_H__ 00046 00047 /* 00048 * Size of the capability buffer string. 00049 */ 00050 #define TCBUFSIZE 2048 00051 00052 int tgetent(char *, const char *); 00053 int tgetnum(char *); 00054 int tgetflag(char *); 00055 char *tgetstr(char *, char **); 00056 char *tgoto(char *, int, int); 00057 int tputs(const char *, int, int (*)(int)); 00058 00059 #endif /* __LIBTERM_H__ */ 00060 00061 /* 00062 * Local Variables: 00063 * mode: C 00064 * tab-width: 8 00065 * c-basic-offset: 4 00066 * indent-tabs-mode: t 00067 * End: 00068 * ex: shiftwidth=4 tabstop=8 00069 */