xref: /titanic_44/usr/src/cmd/troff/ext.h (revision 8eea8e29cc4374d1ee24c25a07f45af132db3499)
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 #pragma ident	"%Z%%M%	%I%	%E% SMI"
32 
33 /*
34  * University Copyright- Copyright (c) 1982, 1986, 1988
35  * The Regents of the University of California
36  * All Rights Reserved
37  *
38  * University Acknowledgment- Portions of this document are derived from
39  * software developed by the University of California, Berkeley, and its
40  * contributors.
41  */
42 
43 extern	char	**argp;
44 extern	char	*chname;
45 extern	char	*eibuf;
46 extern	char	*enda;
47 extern	char	*fitab[];
48 extern	char	*fontab[];
49 extern	char	*kerntab[];
50 extern	char	*ibufp;
51 extern	char	*obufp;
52 extern	char	*unlkp;
53 extern	char	*xbufp;
54 extern	char	*xeibuf;
55 extern	char	cfname[NSO+1][NS];
56 extern	char	devname[];
57 extern	char	fontfile[];
58 extern	char	ibuf[IBUFSZ];
59 extern	char	mfiles[NMF][NS];
60 extern	char	nextf[];
61 extern	char	obuf[],	*obufp;
62 extern	char	termtab[],	fontfile[];
63 extern	char	tmp_name[];
64 extern	char	xbuf[IBUFSZ];
65 extern	filep	apptr;
66 extern	filep	ip;
67 extern	filep	nextb;
68 extern	filep	offset;
69 extern	filep	roff;
70 extern	filep	woff;
71 extern	short	*chtab;
72 extern	int	*pnp;
73 extern	short	*pstab;
74 extern	int	app;
75 extern	int	ascii;
76 extern	int	bd;
77 extern	int	bdtab[];
78 extern	int	ccs;
79 extern	int	copyf;
80 extern	int	cs;
81 extern	int	dfact;
82 extern	int	dfactd;
83 extern	int	diflg;
84 extern	int	dilev;
85 extern	int	donef;
86 extern	int	dotT;
87 extern	int	dpn;
88 extern	int	ds;
89 extern	int	ejf;
90 extern	int	em;
91 extern	int	eqflg;
92 extern	int	error;
93 extern	int	esc;
94 extern	int	eschar;
95 extern	int	ev;
96 extern	int	evi;
97 extern	int	evlist[EVLSZ];
98 extern	int	fc;
99 extern	int	flss;
100 extern	int	fontlab[];
101 extern	int	gflag;
102 extern	int	hflg;
103 extern	int	ibf;
104 extern	int	ifi;
105 extern	int	ifile;
106 extern	int	ifl[NSO];
107 extern	int	iflg;
108 extern	int	init;
109 extern	int	lead;
110 extern	int	lg;
111 extern	int	lgf;
112 extern	int	macerr;
113 extern	int	mflg;
114 extern	int	mfont;
115 extern	int	mlist[NTRAP];
116 extern	int	mpts;
117 extern	int	ndone;
118 extern	int	newmn;
119 extern	int	nflush;
120 extern	int	nfo;
121 extern	int	nfonts;
122 extern	int	nform;
123 extern	int	nhyp;
124 extern	int	nlflg;
125 extern	int	nlist[NTRAP];
126 extern	int	nmfi;
127 extern	int	no_out;
128 extern	int	nofeed;
129 extern	int	nonumb;
130 extern	int	noscale;
131 extern	int	npn;
132 extern	int	npnflg;
133 extern	int	nx;
134 extern	int	oldbits;
135 extern	int	oldmn;
136 extern	int	over;
137 extern	int	padc;
138 extern	int	pfont;
139 extern	int	pfrom;
140 extern	int	pipeflg;
141 extern	int	pl;
142 extern	int	pnlist[];
143 extern	int	po1;
144 extern	int	po;
145 extern	int	ppts;
146 extern	int	print;
147 extern	int	ptid;
148 extern	int	pto;
149 extern	int	quiet;
150 extern	int	ralss;
151 extern	int	rargc;
152 extern	int	raw;
153 extern	int	res;
154 extern	int	setwdf;
155 extern	int	sfont;
156 extern	int	smnt;
157 extern	int	stdi;
158 extern	int	stop;
159 extern	int	sv;
160 extern	int	tabch,	ldrch;
161 extern	int	tflg;
162 extern	int	totout;
163 extern	int	trap;
164 extern	int	trtab[];
165 extern	int	tty;
166 extern	int	ttyod;
167 extern	int	ulfont;
168 extern	int	vflag;
169 extern	int	wbfi;
170 extern	int	widthp;
171 extern	int	xfont;
172 extern	int	xpts;
173 extern	no_out;
174 extern	struct	s	*ejl;
175 extern	struct	s	*frame,	*stk,	*nxf;
176 extern	tchar	**hyp;
177 extern	tchar	*olinep;
178 extern	tchar	pbbuf[NC];
179 extern	tchar	*pbp;
180 extern	tchar	*lastpbp;
181 extern	tchar	ch;
182 extern	tchar	nrbits;
183 extern	tchar	oline[];
184 extern	struct widcache {	/* width cache, indexed by character */
185 	short	fontpts;
186 	short	width;
187 } widcache[NWIDCACHE];
188 extern	char gchtab[];
189 extern	struct	d	d[NDI];
190 extern	struct	d	*dip;
191 
192 #ifdef	EUC
193 #ifdef	NROFF
194 #include <stddef.h>
195 extern	int	multi_locale;
196 extern  int	csi_width[];
197 extern	char	mbbuf1[];
198 extern	char	*mbbuf1p;
199 extern	wchar_t	twc;
200 extern	int	(*wdbdg)(wchar_t, wchar_t, int);
201 extern	wchar_t	*(*wddlm)(wchar_t, wchar_t, int);
202 #endif	/* NROFF */
203 #endif	/* EUC */
204