/usr/include/xview/win_enum.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 | /* @(#)win_enum.h 20.13 93/06/28 SMI */
/*
* (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.
*/
#ifdef TEST_WIN_ENUM_DEPENDENCIES
#ifndef xview_win_enum_DEFINED
#define xview_win_enum_DEFINED 1
/*
***********************************************************************
* Include Files
***********************************************************************
*/
#include <xview/rect.h>
/*
***********************************************************************
* Definitions and Macros
***********************************************************************
*/
/*
* PUBLIC #defines
*/
/*
* Values for 'flags' field in struct Win_enum_node
*/
#define WIN_NODE_INSERTED 0x1
#define WIN_NODE_OPEN 0x2
#define WIN_NODE_IS_ROOT 0x4
/*
***********************************************************************
* Typedefs, Enumerations, and Structures
***********************************************************************
*/
typedef int Window_handle;
typedef enum win_enumerator_result {
Enum_Normal,
Enum_Succeed,
Enum_Fail
} Win_enum_result, (*Enumerator)();
/*
* For a fast window enumerator in user-space
*/
typedef struct win_enum_node {
unsigned char me;
unsigned char parent;
unsigned char upper_sib;
unsigned char lowest_kid;
unsigned int flags;
Rect open_rect;
Rect icon_rect;
} Win_enum_node;
typedef struct win_tree_layer {
unsigned int bytecount;
Win_enum_node *buffer;
} Win_tree_layer;
/*
***********************************************************************
* Globals
***********************************************************************
*/
/*
* PUBLIC functions
*/
#endif /* ~xview_win_enum_DEFINED */
#endif /* TEST_WIN_ENUM_DEPENDENCIES */
|