/usr/include/uil/Uil.h is in libmotif-dev 2.3.4-5.
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 | /*
* Motif
*
* Copyright (c) 1987-2012, The Open Group. All rights reserved.
*
* These libraries and programs are free software; you can
* redistribute them and/or modify them under the terms of the GNU
* Lesser General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* These libraries and programs are distributed in the hope that
* they will be useful, but WITHOUT ANY WARRANTY; without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with these librararies and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
/*
* HISTORY
*/
/* $XConsortium: Uil.h /main/11 1995/07/14 09:32:19 drk $ */
/*
* (c) Copyright 1989, 1990, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
/*
**++
** FACILITY:
**
** User Interface Language Compiler (UIL)
**
** ABSTRACT:
**
** This include file defines the set of definitions for use with
** UIL compiler callable interface.
**
**--
**/
#ifndef Uil_h
#define Uil_h
/*
**
** INCLUDE FILES
**
**/
/*
**
** Definition of Compiler Severity Statuses
**
*/
typedef unsigned int Uil_status_type;
#define Uil_k_min_status 0
#define Uil_k_success_status 0
#define Uil_k_info_status 1
#define Uil_k_warning_status 2
#define Uil_k_error_status 3
#define Uil_k_severe_status 4
#define Uil_k_max_status 4
/*
**
*/
typedef char (*string_array)[];
#define CEIL(a,b) ((a) < (b) ? (a) : (b))
/*
** Uil_command_type -- Input which describes how/what to compile.
*/
typedef struct _Uil_command_type
{
char *source_file; /* single source to compile */
char *resource_file; /* name of output file */
char *listing_file; /* name of listing file */
unsigned int include_dir_count; /* number of directories in */
/* include_dir array */
char **include_dir; /* directory to search for */
/* includes files */
unsigned listing_file_flag: 1; /* produce a listing */
unsigned resource_file_flag: 1; /* generate UID output */
unsigned machine_code_flag : 1; /* generate machine code */
unsigned report_info_msg_flag: 1;/* report info messages */
unsigned report_warn_msg_flag: 1;/* report warnings */
unsigned parse_tree_flag: 1; /* generate parse tree */
unsigned issue_summary: 1; /* issue diagnostics summary */
unsigned int status_update_delay; /* Number of times a status */
/* point is passed before */
/* calling statusCB routine */
/* 0 means called every time */
char *database; /* name of database file */
unsigned database_flag: 1; /* read a new database file */
unsigned use_setlocale_flag: 1; /* Enable calls to setlocale */
} Uil_command_type;
/*
** Uil_compile_desc_type -- Output information about the compilation including
** the compiler_version, data_structure_version, parse tree, and error counts.
*/
typedef struct _Uil_comp_desc
{
unsigned int compiler_version; /* version number of Compiler */
unsigned int data_version; /* version number of structures */
char *parse_tree_root; /* parse tree output */
unsigned int message_count[Uil_k_max_status+1];
/* array of severity counts */
} Uil_compile_desc_type;
/*
** Uil_continue_type -- A value returned from a Uil callback routine which
** allows the application to specify whether to terminate or continue the
** compilation.
*/
typedef unsigned int Uil_continue_type;
#define Uil_k_terminate 0
#define Uil_k_continue 1
/*
**
** Entry Points
**
*/
#ifndef _ARGUMENTS
#define _ARGUMENTS(arglist) arglist
#endif
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
extern Uil_status_type Uil
_ARGUMENTS((
Uil_command_type *command_desc ,
Uil_compile_desc_type *compile_desc ,
Uil_continue_type (*message_cb )(),
char *message_data ,
Uil_continue_type (*status_cb )(),
char *status_data ));
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
#undef _ARGUMENTS
#endif /* Uil_h */
/* DON'T ADD STUFF AFTER THIS #endif */
|