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