xref: /onnv-gate/usr/src/ucblib/libcurses/curses.ext (revision 0:68f95e015346)
1*0Sstevel@tonic-gate/*
2*0Sstevel@tonic-gate * Copyright 1997 Sun Microsystems, Inc.  All rights reserved.
3*0Sstevel@tonic-gate * Use is subject to license terms.
4*0Sstevel@tonic-gate */
5*0Sstevel@tonic-gate
6*0Sstevel@tonic-gate/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
7*0Sstevel@tonic-gate/* All Rights Reserved */
8*0Sstevel@tonic-gate
9*0Sstevel@tonic-gate/*
10*0Sstevel@tonic-gate * Copyright (c) 1980 Regents of the University of California.
11*0Sstevel@tonic-gate * All rights reserved.  The Berkeley software License Agreement
12*0Sstevel@tonic-gate * specifies the terms and conditions for redistribution.
13*0Sstevel@tonic-gate */
14*0Sstevel@tonic-gate
15*0Sstevel@tonic-gate#pragma ident	"%Z%%M%	%I%	%E% SMI"
16*0Sstevel@tonic-gate
17*0Sstevel@tonic-gate/*
18*0Sstevel@tonic-gate * External variables for the curses library
19*0Sstevel@tonic-gate */
20*0Sstevel@tonic-gate
21*0Sstevel@tonic-gate/*LINTLIBRARY*/
22*0Sstevel@tonic-gate
23*0Sstevel@tonic-gate#include	"file64.h"
24*0Sstevel@tonic-gate#include	<curses.h>
25*0Sstevel@tonic-gate#include	<stdio.h>
26*0Sstevel@tonic-gate#include	<stdarg.h>
27*0Sstevel@tonic-gate
28*0Sstevel@tonic-gateextern bool	_echoit, _rawmode, My_term, _endwin;
29*0Sstevel@tonic-gate
30*0Sstevel@tonic-gateextern char	ttytype[50], *_unctrl[];
31*0Sstevel@tonic-gate
32*0Sstevel@tonic-gateextern int	_tty_ch, LINES, COLS;
33*0Sstevel@tonic-gate
34*0Sstevel@tonic-gateextern SGTTY	_tty;
35*0Sstevel@tonic-gate
36*0Sstevel@tonic-gate
37*0Sstevel@tonic-gate/* these are only for building libcurses */
38*0Sstevel@tonic-gate/* but, they could have been used by existing applications */
39*0Sstevel@tonic-gateextern int	_sprintw(WINDOW *, char *, va_list);
40*0Sstevel@tonic-gateextern int	_putchar(char);
41*0Sstevel@tonic-gateextern int	_sscans(WINDOW *, char *, va_list);
42*0Sstevel@tonic-gateextern void	_swflags_(WINDOW *);
43*0Sstevel@tonic-gateextern void	_set_subwin_(WINDOW *, WINDOW *);
44*0Sstevel@tonic-gateextern void	_id_subwins(WINDOW *);
45*0Sstevel@tonic-gate
46*0Sstevel@tonic-gate/* this could have been used by existing applications */
47*0Sstevel@tonic-gateextern void	tstp(void);
48*0Sstevel@tonic-gateextern int	gettmode(void);
49*0Sstevel@tonic-gate
50*0Sstevel@tonic-gate/* this one should be in /usr/include/term.h __STDC__, it is a bug there */
51*0Sstevel@tonic-gateextern char	*tgoto(char *, int, int);
52*0Sstevel@tonic-gate
53*0Sstevel@tonic-gate#ifdef DEBUG
54*0Sstevel@tonic-gate#define	outf	_outf
55*0Sstevel@tonic-gate
56*0Sstevel@tonic-gateFILE		*outf;
57*0Sstevel@tonic-gate#endif
58*0Sstevel@tonic-gate
59*0Sstevel@tonic-gate/* inter-library dependency */
60*0Sstevel@tonic-gate
61*0Sstevel@tonic-gateextern int _doscan(FILE *, const char *, va_list);
62