This file is indexed.

/usr/include/xgks/gksm.h is in libxgks-dev 2.6.1+dfsg.2-3ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
/*
 *		Copyright IBM Corporation 1989
 *
 *                      All Rights Reserved
 *
 * Permission to use, copy, modify, and distribute this software and its
 * documentation for any purpose and without fee is hereby granted,
 * provided that the above copyright notice appear in all copies and that
 * both that copyright notice and this permission notice appear in
 * supporting documentation, and that the name of IBM not be
 * used in advertising or publicity pertaining to distribution of the
 * software without specific, written prior permission.
 *
 * IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
 * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
 * IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
 * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 * SOFTWARE.
 *
 *
 * University of Illinois at Urbana-Champaign
 * Department of Computer Science
 * 1304 W. Springfield Ave.
 * Urbana, IL	61801
 *
 * (C) Copyright 1987, 1988 by The University of Illinois Board of Trustees.
 * All rights reserved.
 *
 * Tool: X 11 Graphical Kernel System
 * Author: Gregory Scott Rogers
 * Author: Sung Hsien Ching Kelvin
 * Author: Yu Pan
 *
 * This header-file depends upon header-file "xgks.h".
 * 
 * $Id: gksm.h,v 2.6 2000/08/01 16:38:24 steve Exp $
 * $__Header$
 */

/*
 * Metafiles
 */

#ifndef XGKS_GKSM_H
#define XGKS_GKSM_H


/*
 * GKSM Item Numbers (standard GKSM names with `GKSM_' prefixed):
 */
#define GKSM_END_ITEM				0
#define GKSM_CLEAR_WORKSTATION			1
#define GKSM_REDRAW_ALL_SEGMENTS_ON_WORKSTATION	2
#define GKSM_UPDATE_WORKSTATION			3
#define GKSM_DEFFERAL_STATE			4
#define GKSM_MESSAGE				5
#define GKSM_ESCAPE				6
#define GKSM_POLYLINE				11
#define GKSM_PPOLYMARKER			12
#define GKSM_TEXT				13
#define GKSM_FILL_AREA				14
#define GKSM_CELL_ARRAY				15
#define GKSM_GENERALIZED_DRAWING_PRIMITIVE	16
#define GKSM_POLYLINE_INDEX			21
#define GKSM_LINETYPE				22
#define GKSM_LINEWIDTH_SCALE_FACTOR		23
#define GKSM_POLYLINE_COLOUR_INDEX		24
#define GKSM_POLYMARKER_INDEX			25
#define GKSM_MARKER_TYPE			26
#define GKSM_MARKER_SIZE_SCALE_FACTOR		27
#define GKSM_POLYMARKER_COLOUR_INDEX		28
#define GKSM_TEXT_INDEX				29
#define GKSM_TEXT_FONT_AND_PRECISION		30
#define GKSM_CHARACTER_EXPANSION_FACTOR		31
#define GKSM_CHARACTER_SPACING			32
#define GKSM_TEXT_COLOUR_INDEX			33
#define GKSM_CHARACTER_VECTORS			34
#define GKSM_TEXT_PATH				35
#define GKSM_TEXT_ALIGNMENT			36
#define GKSM_FILL_AREA_INDEX			37
#define GKSM_FILL_AREA_INTERIOR_STYLE		38
#define GKSM_FILL_AREA_STYLE_INDEX		39
#define GKSM_FILL_AREA_COLOUR_INDEX		40
#define GKSM_PATTERN_SIZE			41
#define GKSM_PATTERN_REFERENCE_POINT		42
#define GKSM_ASPECT_SOURCE_FLAGS		43
#define GKSM_PICK_IDENTIFIER			44
#define GKSM_POLYLINE_REPRESENTATION		51
#define GKSM_POLYMARKER_REPRESENTATION		52
#define GKSM_TEXT_REPRESENTATION		53
#define GKSM_FILL_AREA_REPRESENTATION		54
#define GKSM_PATTERN_REPRESENTATION		55
#define GKSM_COLOUR_REPRESENTATION		56
#define GKSM_CLIPPING_RECTANGLE			61
#define GKSM_WORKSTATION_WINDOW			71
#define GKSM_WORKSTATION_VIEWPORT		72
#define GKSM_CREATE_SEGMENT			81
#define GKSM_CLOSE_SEGMENT			82
#define GKSM_RENAME_SEGMENT			83
#define GKSM_DELETE_SEGMENT			84
#define GKSM_SET_SEGMENT_TRANSFORMATION		91
#define GKSM_SET_VISIBILITY			92
#define GKSM_SET_HIGHLIGHTING			93
#define GKSM_SET_SEGMENT_PRIORITY		94
#define GKSM_SET_DETECTABILITY			95
#define GKSM_USER_ITEM				101	/* must be >= */



extern int GMnextItem	PROTO((
    Metafile	*mf		/* Metafile structure */
));
extern int GMwriteItem	PROTO((
    Metafile	*mf,		/* Metafile structures */
    int		num,	/* Number of Metafiles */
    Gint	type,	/* item type */
    Gint	length,	/* item length */
    Gchar	*data	/* item data-record */
));
extern int GMreadItem	PROTO((
    Metafile	*mf,		/* Metafile structure  */
    char        *record	/* input data-record */
));
extern int GMmiOpen	PROTO((
    WS_STATE_PTR ws,		/* Workstation structure */
    char	*conn		/* Metafile identifier (filename) */
));
extern int GMmiClose	PROTO((
    Metafile	*mf
));
extern int GMmoOpen	PROTO((
    WS_STATE_PTR	ws
));
extern int GMmoClose	PROTO((
    Metafile	*mf
));
extern int GMclear	PROTO((
    Metafile	*mf,
    int		num,
    Gclrflag	flag
));
extern int GMredrawAllSeg	PROTO((
    Metafile	*mf,
    int		num
));
extern int GMupdate	PROTO((
    Metafile	*mf,
    int		num,
    Gregen	regenflag
));
extern int GMdefer	PROTO((
    Metafile	*mf,
    int		num,
    Gdefmode	defer_mode,
    Girgmode	regen_mode
));
extern int GMmessage	PROTO((
    Metafile	*mf,
    int		num,
    Gchar	*string
));
extern int GMoutputGraphic	PROTO((
    Metafile	*mf,
    int		num,
    Gint	code,
    Gint	num_pt,
    Gpoint	*pos
));
extern int GMtext	PROTO((
    Metafile	*mf,
    int		num,
    Gpoint	*at,
    Gchar	*string
));
extern int GMcellArray	PROTO((
    Metafile	*mf,
    int		num,
    Gpoint	*ll,
    Gpoint	*ur,
    Gpoint	*lr,
    Gint	row,
    Gint	*colour,
    Gipoint	*dim
));
extern int GMsetGraphSize	PROTO((
    Metafile	*mf,
    int		num,
    Gint	code,
    double	size
));
extern int GMcloseSeg	PROTO((
    Metafile	*mf,
    int		num
));
extern int GMsetGraphAttr	PROTO((
    Metafile	*mf,
    int		num,
    Gint	code,
    Gint	attr
));
extern int GMsetTextFP	PROTO((
    Metafile	*mf,
    int		num,
    Gtxfp	*txfp
));
extern int GMsetCharUp	PROTO((
    Metafile	*mf,
    int		num,
    Gpoint	*up,
    Gpoint	*base
));
extern int GMsetTextPath	PROTO((
    Metafile	*mf,
    int		num,
    Gtxpath	path
));
extern int GMsetTextAlign	PROTO((
    Metafile	*mf,
    int		num,
    Gtxalign	*align
));
extern int GMsetFillStyle	PROTO((
    Metafile	*mf,
    int		num,
    Gflinter	style
));
extern int GMsetPatSize	PROTO((
    Metafile	*mf,
    int		num
));
extern int GMsetPatRefpt	PROTO((
    Metafile	*mf,
    int		num
));
extern int GMsetAsf	PROTO((
    Metafile	*mf,
    int		num
));
extern int GMsetLineMarkRep	PROTO((
    Metafile	*mf,
    int		num,
    Gint	code,
    Gint	idx,
    Gint	type,
    double	size,
    Gint	colour
));
extern int GMsetTextRep	PROTO((
    Metafile	*mf,
    int		num,
    Gint	idx,
    Gtxbundl	*rep
));
extern int GMsetFillRep	PROTO((
    Metafile	*mf,
    int		num,
    Gint	idx,
    Gflbundl	*rep
));
extern int GMsetPatRep	PROTO((
    Metafile	*mf,
    int		num,
    Gint	idx,
    Gptbundl	*rep
));
extern int GMsetColRep	PROTO((
    Metafile	*mf,
    int		num,
    Gint	idx,
    Gcobundl	*rep
));
extern int GMsetClip	PROTO((
    Metafile	*mf,
    int		num,
    Glimit	*rect
));
extern int GMsetLimit	PROTO((
    Metafile	*mf,
    int		num,
    Gint	code,
    Glimit	*rect
));
extern int GMrenameSeg	PROTO((
    Metafile	*mf,
    int		num,
    Gint	old,
    Gint	new
));
extern int GMsetSegTran	PROTO((
    Metafile	*mf,
    int		num,
    Gint	name,
    Gfloat	matrix[2][3]
));
extern int GMsetSegAttr	PROTO((
    Metafile	*mf,
    int		num,
    Gint	name,
    Gint	code,
    Gint	attr
));
extern int GMsetSegVis	PROTO((
    Metafile	*mf,
    int		num,
    Gint	name,
    Gsegvis	vis
));
extern int GMsetSegHilight	PROTO((
    Metafile	*mf,
    int		num,
    Gint	name,
    Gseghi	hilight
));
extern int GMsetSegPri	PROTO((
    Metafile	*mf,
    int		num,
    Gint	name,
    double	pri
));
extern int GMsetSegDetect	PROTO((
    Metafile	*mf,
    int		num,
    Gint	name,
    Gsegdet	det
));

#endif	/* XGKS_GKSM_H not defined */