/usr/include/xview/termsw.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 | /*
* @(#)termsw.h 20.18 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_termsw_DEFINED
#define xview_termsw_DEFINED
/*
***********************************************************************
* Include Files
***********************************************************************
*/
#ifdef XV_ATTRIBUTES_ONLY
#include <xview/attrol.h>
#else
#include <xview/textsw.h>
#endif /* XV_ATTRIBUTES_ONLY */
/*
***********************************************************************
* Definitions and Macros
***********************************************************************
*/
/*
* PUBLIC #defines
*/
#ifndef XV_ATTRIBUTES_ONLY
#define TERMSW &xv_termsw_pkg
#define TERMSW_VIEW &xv_termsw_view_pkg
#endif /* ~XV_ATTRIBUTES_ONLY */
/*
* PRIVATE #defines
*/
#define TERMSW_TYPE ATTR_PKG_TERMSW
#define TERMSW_VIEW_TYPE ATTR_PKG_TERMSW_VIEW
#define TERMSW_ATTR(type, ordinal) ATTR(ATTR_PKG_TERMSW, type, ordinal)
/*
***********************************************************************
* Typedefs, Enumerations, and Structures
***********************************************************************
*/
#ifndef XV_ATTRIBUTES_ONLY
typedef Xv_opaque Termsw;
typedef Xv_opaque Termsw_view;
typedef struct {
/*
* This isn't really a textsw, only shares few attrs
*/
Xv_textsw parent_data;
Xv_opaque private_data;
Xv_opaque private_text;
Xv_opaque private_tty;
} Xv_termsw;
typedef struct {
/*
* This isn't really a textsw view, only shares few attrs
*/
Xv_textsw_view parent_data;
Xv_opaque private_data;
Xv_opaque private_text;
Xv_opaque private_tty;
} Xv_termsw_view;
#endif /* ~XV_ATTRIBUTES_ONLY */
typedef enum {
TERMSW_MODE_TYPE,
TTYSW_MODE_TYPE
} Termsw_mode;
typedef enum {
/*
* Public attributes.
*/
TERMSW_MODE = TERMSW_ATTR(ATTR_INT, 1) /* --G */
} Termsw_attribute;
/*
***********************************************************************
* Globals
***********************************************************************
*/
extern Xv_pkg xv_termsw_pkg;
extern Xv_pkg xv_termsw_view_pkg;
#endif /* ~xview_termsw_DEFINED */
|