This file is indexed.

/usr/include/ncarg/hlu/WorkstationI.h is in libncarg-dev 6.4.0-9.

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
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
/*
 *      $Id: WorkstationI.h,v 1.15.12.1 2010-03-17 20:47:07 brownrig Exp $
 */
/************************************************************************
*									*
*			     Copyright (C)  1994			*
*	     University Corporation for Atmospheric Research		*
*			     All Rights Reserved			*
*									*
************************************************************************/
/*
 *	File:		WorkstationI.h
 *
 *	Author:		Jeff W. Boote
 *			National Center for Atmospheric Research
 *			PO 3000, Boulder, Colorado
 *
 *	Date:		Wed Jan 26 17:39:56 MST 1994
 *
 *	Description:	Used to declare "Private" access functions to the
 *			Workstation Class.
 */
#ifndef	_NWORKSTATIONI_H
#define	_NWORKSTATIONI_H

#include <ncarg/hlu/hluP.h>
#include <ncarg/hlu/View.h>
#include <ncarg/hlu/Workstation.h>

typedef struct _NhlworkColorChangeDataRec
			_NhlworkColorChangeDataRec, *_NhlworkColorChangeData;

struct _NhlworkColorChangeDataRec{
	int		pid;	/* wks layer id */
	NhlColorIndex	ci;
	float		red;
	float		green;
	float		blue;
};

/*
 * The "Index" version is to get changes on a "specific" color index.  Set
 * the selector.lngval = to the index of interest.
 *
 * The non-"Index" version is a callback that gets called for each and every
 * index that changes - so a complete colormap set will cause that CB function
 * to be called 256 times.
 *
 * cbdata.ptrval is _NhlworkColorChangeData for both of these
 */
/*
 * changed the non-"Index" version: now it is called ColorMapChange, and
 * is called *once* any time the colormap is altered in any way. 
 * Actually the indexed color map callback will be called 256 times for
 * a complete color map change. The callback user only sees calls that he
 * for indexes he has registered however.
 */
#define _NhlCBworkColorIndexChange	"CBworkColorIndexChange"
#define _NhlCBworkColorMapChange	"CBworkColorMapChange"

/*cbdata.ptrval is workstation NhlLayer */
#define	_NhlCBworkPreOpen	"CBworkPreOpen"

/*
 * Private Workstation Resources are defined here.
 * These resources are only to be used by other objects
 * in the HLU library, they are not part of the API.
 */

/*
 * This resource must be set by itself!!!
 */
#define	_NhlNwkReset		".wkReset"
#define	_NhlCwkReset		".WkReset"
/*
 * This resource must be set by itself!!!
 */
#define	_NhlNwkSetPublic		".wkSetPublic"
#define	_NhlCwkSetPublic		".WkSetPublic"

#define _NhlNwkGraphicStyle	".wkGraphicStyle"
#define _NhlCwkGraphicStyle	".WkGraphicStyle"

#define _NhlNwkDashPattern	".wkDashPattern"
#define _NhlCwkDashPattern	".WkDashPattern"
#define _NhlNwkLineDashSegLenF	".wkLineDashSegLenF"
#define _NhlCwkLineDashSegLenF	".WkLineDashSegLenF"
#define _NhlNwkLineColor	".wkLineColor"
#define _NhlCwkLineColor	".WkLineColor"
#define _NhlNwkLineOpacityF	".wkLineOpacityF"
#define _NhlCwkLineOpacityF	".WkLineOpacityF"
#define _NhlNwkLineThicknessF	".wkLineThicknessF"
#define _NhlCwkLineThicknessF	".WkLineThicknessF"

#define _NhlNwkLineLabel	".wkLineLabel"
#define _NhlCwkLineLabel	".WkLineLabel"
#define _NhlNwkLineLabelFont	".wkLineLabelFont"
#define _NhlCwkLineLabelFont	".WkLineLabelFont"
#define _NhlNwkLineLabelFontColor	".wkLineLabelFontColor"
#define _NhlCwkLineLabelFontColor	".WkLineLabelFontColor"
#define _NhlNwkLineLabelFontHeightF	".wkLineLabelFontHeightF"
#define _NhlCwkLineLabelFontHeightF	".WkLineLabelFontHeightF"
#define _NhlNwkLineLabelFontAspectF	".wkLineLabelFontAspectF"
#define _NhlCwkLineLabelFontAspectF	".WkLineLabelFontAspectF"
#define _NhlNwkLineLabelFontThicknessF	".wkLineLabelFontThicknessF"
#define _NhlCwkLineLabelFontThicknessF	".WkLineLabelFontThicknessF"
#define _NhlNwkLineLabelFontQuality	".wkLineLabelFontQuality"
#define _NhlCwkLineLabelFontQuality	".WkLineLabelFontQuality"
#define _NhlNwkLineLabelConstantSpacingF	".wkLineLabelConstantSpacingF"
#define _NhlCwkLineLabelConstantSpacingF	".WkLineLabelConstantSpacingF"
#define _NhlNwkLineLabelFuncCode	".wkLineLabelFuncCode"
#define _NhlCwkLineLabelFuncCode	".WkLineLabelFuncCode"

#define _NhlNwkMarkerIndex	".wkMarkerIndex"
#define _NhlCwkMarkerIndex	".WkMarkerIndex"
#define _NhlNwkMarkerColor      ".wkMarkerColor"
#define _NhlCwkMarkerColor      ".WkMarkerColor"
#define _NhlNwkMarkerOpacityF   ".wkMarkerOpacityF"
#define _NhlCwkMarkerOpacityF   ".WkMarkerOpacityF"
#define _NhlNwkMarkerSizeF	".wkMarkerSizeF"
#define _NhlCwkMarkerSizeF	".WkMarkerSizeF"
#define _NhlNwkMarkerXOffsetF   ".wkMarkerXOffset"
#define _NhlCwkMarkerXOffsetF   ".WkMarkerXOffset"
#define _NhlNwkMarkerYOffsetF   ".wkMarkerYOffset"
#define _NhlCwkMarkerYOffsetF   ".WkMarkerYOffset"
#define _NhlNwkMarkerThicknessF ".wkMarkerThicknessF"
#define _NhlCwkMarkerThicknessF ".WkMarkerThicknessF"

#define _NhlNwkDashTable 	".wkDashTable"
#define _NhlCwkDashTable 	".WkDashTable"

#define _NhlNwkFillIndex		".wkFillIndex"
#define _NhlCwkFillIndex		".WkFillIndex"

#define _NhlNwkFillColor         ".wkFillColor"
#define _NhlCwkFillColor         ".WkFillColor"

#define _NhlNwkFillOpacityF      ".wkFillOpacityF"
#define _NhlCwkFillOpacityF      ".WkFillOpacityF"

#define _NhlNwkFillBackground    ".wkFillBackground"
#define _NhlCwkFillBackground    ".WkFillBackground"

#define _NhlNwkFillScaleFactorF	".wkFillScaleFactorF"
#define _NhlCwkFillScaleFactorF	".WkFillScaleFactorF"

#define _NhlNwkFillLineThicknessF ".wkFillLineThicknessF"
#define _NhlCwkFillLineThicknessF ".WkFillLineThicknessF"

#define _NhlNwkFillDotSizeF 	  ".wkFillDotSizeF"
#define _NhlCwkFillDotSizeF 	  ".WkFillDotSizeF"

#define _NhlNwkEdgesOn		 ".wkEdgesOn"
#define _NhlCwkEdgesOn		 ".WkEdgesOn"

#define _NhlNwkEdgeDashPattern   ".wkEdgeDashPattern"
#define _NhlCwkEdgeDashPattern   ".WkEdgeDashPattern"

#define _NhlNwkEdgeThicknessF    ".wkEdgeThicknessF"
#define _NhlCwkEdgeThicknessF    ".WkEdgeThicknessF"

#define _NhlNwkEdgeDashSegLenF   ".wkEdgeDashSegLenF"
#define _NhlCwkEdgeDashSegLenF   ".WkEdgeDashSegLenF"

#define _NhlNwkEdgeColor         ".wkEdgeColor"
#define _NhlCwkEdgeColor         ".WkEdgeColor"

#define _NhlNwkMarkerTableStrings ".wkMarkerTableStrings" /* read-only */
#define _NhlCwkMarkerTableStrings ".WkMarkerTableStrings" /* read-only */

#define _NhlNwkMarkerTableParams  ".wkMarkerTableParams"  /* read-only */
#define _NhlCwkMarkerTableParams  ".WkMarkerTableParams"  /* read-only */

/*
 * Resources Disabled for 4.0
 */
#define _NhlNwkDrawMarkerLines		".wkDrawMarkerLines"
#define _NhlCwkDrawMarkerLines		".WkDrawMarkerLines"

#define _NhlNwkMarkerLineDashPattern	".wkMarkerLineDashPattern"
#define _NhlCwkMarkerLineDashPattern	".WkMarkerLineDashPattern"

#define _NhlNwkMarkerLineThicknessF	".wkMarkerLineThicknessF"
#define _NhlCwkMarkerLineThicknessF	".WkMarkerLineThicknessF"

#define _NhlNwkMarkerLineDashSegLenF	".wkMarkerLineDashSegLenF"
#define _NhlCwkMarkerLineDashSegLenF	".WkMarkerLineDashSegLenF"

#define _NhlNwkMarkerLineColor     	".wkMarkerLineColor"
#define _NhlCwkMarkerLineColor     	".WkMarkerLineColor"

typedef struct _NhlWorkstationLayerRec *NhlWorkstationLayer;
typedef struct _NhlWorkstationClassRec *NhlWorkstationClass;

/*
 * Private Functions to support Workstation Class Objects
 */
extern void _NhlSetLineInfo(
#if	NhlNeedProto
        NhlLayer   /* instance */,
        NhlLayer   /* plot */
#endif
);

extern NhlErrorTypes _NhlWorkstationLineTo(
#if	NhlNeedProto
NhlLayer   /* instance */,
float   /* x */,
float   /* y */,
int     /* upordown */
#endif
);

extern void _NhlSetFillInfo(
#if	NhlNeedProto
NhlLayer instance,
NhlLayer plot
#endif
);

extern NhlErrorTypes _NhlWorkstationFill(
#if	NhlNeedProto
NhlLayer   /* instance */,
float*   /* x */,
float*   /* y */,
int     /* num_points */
#endif
);

extern NhlErrorTypes _NhlWorkstationCellFill(
#if	NhlNeedProto
NhlLayer	l,
float		xp1,
float		yp1,
float           xp2,
float           yp2,
int             nx,
int             ny,
int             *clrixs
#endif
);

extern void _NhlSetMarkerInfo(
#if	NhlNeedProto
NhlLayer instance,
NhlLayer plot
#endif
);

extern NhlErrorTypes _NhlWorkstationMarker(
#if	NhlNeedProto
NhlLayer   /* instance */,
float*   /* x */,
float*   /* y */,
int     /* num_points */
#endif
);

extern void _NhlSetAntialiasingMode(
NhlLayer l, 
NhlAntiAliasMode mode
);

extern NhlErrorTypes _NhlActivateWorkstation(
#if	NhlNeedProto
        NhlLayer   /* layer*/
#endif
);

extern NhlErrorTypes _NhlDeactivateWorkstation(
#if	NhlNeedProto
        NhlLayer   /* layer*/
#endif
);

extern NhlErrorTypes _NhlCloseWorkstation(
#if	NhlNeedProto
        NhlLayer   /*layer*/
#endif
);

extern NhlErrorTypes _NhlOpenWorkstation(
#if	NhlNeedProto
        NhlLayer   /*layer*/
#endif
);

extern  int  _NhlWorkstationId(
#if	NhlNeedProto
        NhlLayer   /*instance */
#endif
);

extern int _NhlGetGksCi(
#if	NhlNeedProto
        NhlLayer   /* workstation*/,
        int /* ci*/
#endif
);

extern NhlBoolean _NhlIsAllocatedColor(
#if	NhlNeedProto
        NhlLayer   /* workstation*/,
        int /* ci*/
#endif
);

extern NhlErrorTypes _NhlSetColor(
#if	NhlNeedProto
NhlLayer   /* inst */,
int     /* ci */,
float   /* red */,
float   /* green */,
float   /* blue */
#endif
);

extern NhlErrorTypes _NhlFreeColor(
#if	NhlNeedProto
        NhlLayer   /* inst */,
        int     /* ci */
#endif
);


extern int _NhlGetColor(
#if	NhlNeedProto
        NhlLayer	l,
	int		ci,
        float		*red,
        float		*green,
        float		*blue
#endif
);

extern int _NhlNewColor(
#if	NhlNeedProto
        NhlLayer   /* inst */,
        float   /* red */,
        float   /* green */,
        float   /* blue */
#endif
);


extern NhlErrorTypes _NhlSpanColorPalette(
	NhlGenArray palga, 
	int count, 
	int *colors
);

extern NhlErrorTypes _NhlSetColorsFromPalette(
	NhlLayer vl,
	NhlGenArray palette_ga, 
	int color_count, 
	int span_palette, 
	NhlGenArray *color_ga, 
	char *entry_name
);

extern NhlErrorTypes   _NhlSetColorsFromIndexAndPalette(
	NhlLayer	       vl,
	NhlGenArray            index_ga,
	NhlGenArray            palette_ga,
	char *                 entry_name
);

extern NhlErrorTypes   _NhlSetColorsFromWorkstationColorMap(
	NhlLayer	       vl,
	NhlGenArray            *index_ga,
	ng_size_t              count,
	int		       span_palette, 
	char *                 entry_name
);

extern NhlGenArray _NhlGetWorkstationPalette(
#if	NhlNeedProto
        NhlLayer  l
#endif
);

extern NhlLayer _NhlDefaultPlot(
#if	NhlNeedProto
        NhlLayer  l
#endif
);

extern NhlErrorTypes _NhlUpdateDrawBB(
#if	NhlNeedProto
	NhlLayer	vl
#endif
);

#endif	/* _NWORKSTATIONI_H */