This file is indexed.

/usr/include/xview/openwin.h is in xviewg-dev 3.2p1.4-28.1.

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
/*	
 *	(c) Copyright 1989 Sun Microsystems, Inc. Sun design patents 
 *	pending in the U.S. and foreign countries. See LEGAL NOTICE 
 *	file for terms of the license. 
 */

/*
 *	(c) Copyright 1989 Sun Microsystems, Inc. Sun design patents 
 *	pending in the U.S. and foreign countries. See LEGAL NOTICE 
 *	file for terms of the license.
 */

#ifndef	xview_openwin_DEFINED
#define	xview_openwin_DEFINED

/*
 * Module:	openwin.h
 * Product:	SunView 2.0
 *
 * Level:	Public
 *
 * Description:
 *
 *	Defines attributes for the window that implements a LAF
 *  subwindow.
 *
 */


/*
 ***********************************************************************
 *			Include Files
 ***********************************************************************
 */
 
#include <xview/window.h>
#include <xview/attrol.h>

/*
 ***********************************************************************
 *			Definitions and Macros
 ***********************************************************************
 */

/*
 * PUBLIC #defines 
 */

#define OPENWIN   			&xv_openwin_pkg

#define OPENWIN_SPLIT_NEWVIEW_IN_PLACE 	-1
#define OPENWIN_CANNOT_EXPAND		-1

#define	OPENWIN_EACH_VIEW(openwin, view)	\
   {int _view_cnt = 0; 				\
   while (((view) = (Xv_Window) xv_get((openwin), OPENWIN_NTH_VIEW, _view_cnt++)) != NULL) { 					\

#define	OPENWIN_END_EACH	}}


/*
 * PRIVATE #defines 
 */

#ifndef ATTR_PKG_OPENWIN
#define ATTR_PKG_OPENWIN 		(ATTR_PKG_UNUSED_FIRST + 8)
#endif
#define	OPENWIN_ATTR(type, ordinal)	ATTR(ATTR_PKG_OPENWIN, type, ordinal)
#define OPENWIN_ATTR_LIST(ltype, type, ordinal) \
    OPENWIN_ATTR(ATTR_LIST_INLINE((ltype), (type)), (ordinal))

#define OPENWIN_SET_GC		0
#define OPENWIN_CLR_GC		1
#define OPENWIN_TEXT_GC		2
#define OPENWIN_BOLD_GC		3
#define OPENWIN_GLYPH_GC	4
#define OPENWIN_INACTIVE_GC	5
#define OPENWIN_DIM_GC		6
#define OPENWIN_INVERT_GC	7
#define OPENWIN_NONSTD_GC	8	/* Color or non-standard font */
#define OPENWIN_NBR_GCS		9

/*
 ***********************************************************************
 *		Typedefs, Enumerations, and Structures
 ***********************************************************************
 */
 
typedef Xv_opaque  Openwin;

typedef struct {
	Xv_window_struct	parent_data;
	Xv_opaque		private_data;
}  Xv_openwin;

typedef enum {
	OPENWIN_SPLIT_HORIZONTAL,
	OPENWIN_SPLIT_VERTICAL
} Openwin_split_direction;

typedef enum {
   /*
    * Public Attributes 
    */
   OPENWIN_ADJUST_FOR_HORIZONTAL_SCROLLBAR
				= OPENWIN_ATTR(ATTR_BOOLEAN, 	 1),
   OPENWIN_ADJUST_FOR_VERTICAL_SCROLLBAR
				= OPENWIN_ATTR(ATTR_BOOLEAN, 	 5),
   OPENWIN_AUTO_CLEAR		= OPENWIN_ATTR(ATTR_BOOLEAN, 	10),
   OPENWIN_HORIZONTAL_SCROLLBAR	= OPENWIN_ATTR(ATTR_OPAQUE, 	15),
   OPENWIN_NVIEWS		= OPENWIN_ATTR(ATTR_INT, 	20),
   OPENWIN_NO_MARGIN		= OPENWIN_ATTR(ATTR_BOOLEAN, 	25),
   OPENWIN_NTH_VIEW     	= OPENWIN_ATTR(ATTR_OPAQUE, 	30),
   OPENWIN_SELECTED_VIEW	= OPENWIN_ATTR(ATTR_OPAQUE, 	35),
   OPENWIN_SHOW_BORDERS		= OPENWIN_ATTR(ATTR_BOOLEAN, 	40),
   OPENWIN_SPLIT		= OPENWIN_ATTR_LIST(ATTR_RECURSIVE, ATTR_AV, 45),
   OPENWIN_SPLIT_DIRECTION  	= OPENWIN_ATTR(ATTR_ENUM, 	50),
   OPENWIN_SPLIT_POSITION	= OPENWIN_ATTR(ATTR_X, 		55),
   OPENWIN_SPLIT_VIEW		= OPENWIN_ATTR(ATTR_OPAQUE, 	60),
   OPENWIN_SPLIT_VIEW_START	= OPENWIN_ATTR(ATTR_X, 		65),
   OPENWIN_VERTICAL_SCROLLBAR	= OPENWIN_ATTR(ATTR_OPAQUE, 	70),
   OPENWIN_VIEW_ATTRS		= OPENWIN_ATTR_LIST(ATTR_RECURSIVE, ATTR_AV, 75),
   OPENWIN_SPLIT_INIT_PROC	= OPENWIN_ATTR(ATTR_FUNCTION_PTR, 76),
   OPENWIN_SPLIT_DESTROY_PROC	= OPENWIN_ATTR(ATTR_FUNCTION_PTR, 77),
   /*
    * Private Attributes 
    */
   OPENWIN_VIEW_CLASS		= OPENWIN_ATTR(ATTR_OPAQUE,  	80)
} Openwin_attribute;


/*
 ***********************************************************************
 *				Globals
 ***********************************************************************
 */
 
extern Xv_pkg xv_openwin_pkg;

#endif	 /* ~xview_openwin_DEFINED */