xref: /titanic_41/usr/src/cmd/troff/ext.h (revision 56f9a274cc7ca7f2d6f19959b2db143d94a4e7e0)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 /*	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T	*/
28 /*	  All Rights Reserved  	*/
29 
30 /*
31  * University Copyright- Copyright (c) 1982, 1986, 1988
32  * The Regents of the University of California
33  * All Rights Reserved
34  *
35  * University Acknowledgment- Portions of this document are derived from
36  * software developed by the University of California, Berkeley, and its
37  * contributors.
38  */
39 
40 #pragma ident	"%Z%%M%	%I%	%E% SMI"
41 
42 extern	char	**argp;
43 extern	char	*chname;
44 extern	char	*eibuf;
45 extern	char	*enda;
46 extern	char	*fitab[];
47 extern	char	*fontab[];
48 extern	char	*kerntab[];
49 extern	char	*ibufp;
50 extern	char	*obufp;
51 extern	char	*unlkp;
52 extern	char	*xbufp;
53 extern	char	*xeibuf;
54 extern	char	cfname[NSO+1][NS];
55 extern	char	devname[];
56 extern	char	fontfile[];
57 extern	char	ibuf[IBUFSZ];
58 extern	char	mfiles[NMF][NS];
59 extern	char	nextf[];
60 extern	char	obuf[],	*obufp;
61 extern	char	termtab[],	fontfile[];
62 extern	char	tmp_name[];
63 extern	char	xbuf[IBUFSZ];
64 extern	filep	apptr;
65 extern	filep	ip;
66 extern	filep	nextb;
67 extern	filep	offset;
68 extern	filep	roff;
69 extern	filep	woff;
70 extern	short	*chtab;
71 extern	int	*pnp;
72 extern	short	*pstab;
73 extern	int	app;
74 extern	int	ascii;
75 extern	int	bd;
76 extern	int	bdtab[];
77 extern	int	ccs;
78 extern	int	copyf;
79 extern	int	cs;
80 extern	int	dfact;
81 extern	int	dfactd;
82 extern	int	diflg;
83 extern	int	dilev;
84 extern	int	donef;
85 extern	int	dotT;
86 extern	int	dpn;
87 extern	int	ds;
88 extern	int	ejf;
89 extern	int	em;
90 extern	int	eqflg;
91 extern	int	error;
92 extern	int	esc;
93 extern	int	eschar;
94 extern	int	ev;
95 extern	int	evi;
96 extern	int	evlist[EVLSZ];
97 extern	int	fc;
98 extern	int	flss;
99 extern	int	fontlab[];
100 extern	int	gflag;
101 extern	int	hflg;
102 extern	int	ibf;
103 extern	int	ifi;
104 extern	int	ifile;
105 extern	int	ifl[NSO];
106 extern	int	iflg;
107 extern	int	init;
108 extern	int	lead;
109 extern	int	lg;
110 extern	int	lgf;
111 extern	int	macerr;
112 extern	int	mflg;
113 extern	int	mfont;
114 extern	int	mlist[NTRAP];
115 extern	int	mpts;
116 extern	int	ndone;
117 extern	int	newmn;
118 extern	int	nflush;
119 extern	int	nfo;
120 extern	int	nfonts;
121 extern	int	nform;
122 extern	int	nhyp;
123 extern	int	nlflg;
124 extern	int	nlist[NTRAP];
125 extern	int	nmfi;
126 extern	int	no_out;
127 extern	int	nofeed;
128 extern	int	nonumb;
129 extern	int	noscale;
130 extern	int	npn;
131 extern	int	npnflg;
132 extern	int	nx;
133 extern	int	oldbits;
134 extern	int	oldmn;
135 extern	int	over;
136 extern	int	padc;
137 extern	int	pfont;
138 extern	int	pfrom;
139 extern	int	pipeflg;
140 extern	int	pl;
141 extern	int	pnlist[];
142 extern	int	po1;
143 extern	int	po;
144 extern	int	ppts;
145 extern	int	print;
146 extern	int	ptid;
147 extern	int	pto;
148 extern	int	quiet;
149 extern	int	ralss;
150 extern	int	rargc;
151 extern	int	raw;
152 extern	int	res;
153 extern	int	setwdf;
154 extern	int	sfont;
155 extern	int	smnt;
156 extern	int	stdi;
157 extern	int	stop;
158 extern	int	sv;
159 extern	int	tabch,	ldrch;
160 extern	int	tflg;
161 extern	int	totout;
162 extern	int	trap;
163 extern	int	trtab[];
164 extern	int	tty;
165 extern	int	ttyod;
166 extern	int	ulfont;
167 extern	int	vflag;
168 extern	int	wbfi;
169 extern	int	widthp;
170 extern	int	xfont;
171 extern	int	xpts;
172 extern	int	no_out;
173 extern	struct	s	*ejl;
174 extern	struct	s	*frame,	*stk,	*nxf;
175 extern	tchar	**hyp;
176 extern	tchar	*olinep;
177 extern	tchar	pbbuf[NC];
178 extern	tchar	*pbp;
179 extern	tchar	*lastpbp;
180 extern	tchar	ch;
181 extern	tchar	nrbits;
182 extern	tchar	oline[];
183 extern	struct widcache {	/* width cache, indexed by character */
184 	short	fontpts;
185 	short	width;
186 } widcache[NWIDCACHE];
187 extern	char gchtab[];
188 extern	struct	d	d[NDI];
189 extern	struct	d	*dip;
190 
191 #ifdef	EUC
192 #ifdef	NROFF
193 #include <stddef.h>
194 extern	int	multi_locale;
195 extern  int	csi_width[];
196 extern	char	mbbuf1[];
197 extern	char	*mbbuf1p;
198 extern	wchar_t	twc;
199 extern	int	(*wdbdg)(wchar_t, wchar_t, int);
200 extern	wchar_t	*(*wddlm)(wchar_t, wchar_t, int);
201 #endif	/* NROFF */
202 #endif	/* EUC */
203