/usr/include/xview/hist.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 | /* @(#)hist.h 1.5 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.
*/
#ifndef xview_history_pkg_DEFINED
#define xview_history_pkg_DEFINED
extern Xv_pkg history_menu_pkg;
extern Xv_pkg history_list_pkg;
#define HISTORY_MENU &history_menu_pkg
#define HISTORY_LIST &history_list_pkg
typedef Xv_opaque History_list;
typedef Xv_opaque History_menu;
#define HIST_ATTR(type, ordinal) ATTR(ATTR_PKG_HIST, type, ordinal)
typedef enum {
/*
* Public History_menu attributes
*/
HISTORY_MENU_OBJECT = HIST_ATTR(ATTR_NO_VALUE, 1), /* -G- */
HISTORY_NOTIFY_PROC = HIST_ATTR(ATTR_FUNCTION_PTR, 2), /* CGS */
HISTORY_MENU_HISTORY_LIST = HIST_ATTR(ATTR_OPAQUE, 3), /* CGS */
/*
* Public History_list Attributes
*/
HISTORY_ADD_FIXED_ENTRY = HIST_ATTR(ATTR_OPAQUE_PAIR, 4), /* C-S */
HISTORY_ADD_ROLLING_ENTRY = HIST_ATTR(ATTR_OPAQUE_PAIR, 5), /* C-S */
HISTORY_ROLLING_MAXIMUM = HIST_ATTR(ATTR_INT, 6), /* CGS */
HISTORY_DUPLICATE_LABELS = HIST_ATTR(ATTR_BOOLEAN, 7), /* CGS */
HISTORY_DUPLICATE_VALUES = HIST_ATTR(ATTR_BOOLEAN, 8), /* CGS */
HISTORY_FIXED_COUNT = HIST_ATTR(ATTR_INT, 9), /* -G- */
HISTORY_ROLLING_COUNT = HIST_ATTR(ATTR_INT, 10), /* -G- */
HISTORY_VALUE = HIST_ATTR(ATTR_INT_PAIR, 11), /* -G- */
HISTORY_LABEL = HIST_ATTR(ATTR_INT_PAIR, 12), /* -G- */
HISTORY_INACTIVE = HIST_ATTR(ATTR_INT_TRIPLE, 13), /* -GS */
#ifdef OW_I18N
/*
* Wide-Char Interface
*/
HISTORY_ADD_FIXED_ENTRY_WCS = HIST_ATTR(ATTR_OPAQUE_PAIR, 16), /* C-S */
HISTORY_ADD_ROLLING_ENTRY_WCS = HIST_ATTR(ATTR_OPAQUE_PAIR, 17), /* C-S */
HISTORY_VALUE_WCS = HIST_ATTR(ATTR_INT_PAIR, 18), /* -G- */
HISTORY_LABEL_WCS = HIST_ATTR(ATTR_INT_PAIR, 19), /* -G- */
HISTORY_NOTIFY_PROC_WCS = HIST_ATTR(ATTR_FUNCTION_PTR, 20), /* CGS */
#endif /* OW_I18N */
/*
* Private History_list Attributes, used by History_menu package.
*/
HISTORY_POPULATE_MENU = HIST_ATTR(ATTR_OPAQUE, 14),
HISTORY_VALUE_FROM_MENUITEM = HIST_ATTR(ATTR_OPAQUE, 15),
} History_attr;
/*
* Used with HISTORY_VALUE, HISTORY_LABEL
* and HISTORY_INACTIVE attributes.
*/
typedef enum {
HISTORY_FIXED,
HISTORY_ROLLING
} History_space;
typedef struct {
Xv_generic_struct parent_data;
Xv_opaque private_data;
} History_menu_public;
typedef struct {
Xv_generic_struct parent_data;
Xv_opaque private_data;
} History_list_public;
#endif /* ~xview_history_pkg_DEFINED */
|