File: query.h

package info (click to toggle)
the 2.5-0.2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 3,116 kB
  • ctags: 3,020
  • sloc: ansic: 46,212; sh: 1,525; makefile: 395
file content (182 lines) | stat: -rw-r--r-- 8,742 bytes parent folder | download
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
173
174
175
176
177
178
179
180
181
182
/***********************************************************************/
/* QUERY.H -                                                           */
/* This file contains defines   related to QUERY,STATUS and EXTRACT    */
/***********************************************************************/
/*
 * THE - The Hessling Editor. A text editor similar to VM/CMS xedit.
 * Copyright (C) 1991-1997 Mark Hessling
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to:
 *
 *    The Free Software Foundation, Inc.
 *    675 Mass Ave,
 *    Cambridge, MA 02139 USA.
 *
 *
 * If you make modifications to this software that you feel increases
 * it usefulness for the rest of the community, please email the
 * changes, enhancements, bug fixes as well as any and all ideas to me.
 * This software is going to be maintained and enhanced as deemed
 * necessary by the community.
 *
 * Mark Hessling                 Email:             M.Hessling@qut.edu.au
 * PO Box 203                    Phone:                    +617 3802 0800
 * Bellara                       http://www.gu.edu.au/gext/the/markh.html
 * QLD 4507                      **** Maintainer PDCurses & REXX/SQL ****
 * Australia                     ************* Author of THE ************
 */

/*
$Id: query.h 2.1 1995/06/24 16:30:57 MH Rel MH $
*/


/*---------------------------------------------------------------------*/
/* The order of these items determine the order they appear as a result*/
/* of the STATUS command, so they should be in alphabetical order.     */
/*---------------------------------------------------------------------*/
/* The following are item number defines for EXTRACT/QUERY/STATUS.     */
/*---------------------------------------------------------------------*/
#define ITEM_ALT                              0
#define ITEM_ARBCHAR                          1
#define ITEM_AUTOSAVE                         2
#define ITEM_BACKUP                           3
#define ITEM_BEEP                             4
#define ITEM_BLOCK                            5
#define ITEM_CASE                             6
#define ITEM_CLEARSCREEN                      7
#define ITEM_CLOCK                            8
#define ITEM_CMDARROWS                        9
#define ITEM_CMDLINE                         10
#define ITEM_COLOR                           11
#define ITEM_COLUMN                          12
#define ITEM_COMPAT                          13
#define ITEM_CURLINE                         14
#define ITEM_CURSOR                          15
#define ITEM_CURSORSTAY                      16
#define ITEM_DEFSORT                         17
#define ITEM_DIRFILEID                       18
#define ITEM_DISPLAY                         19
#define ITEM_EOF                             20
#define ITEM_EOLOUT                          21
#define ITEM_ETMODE                          22
#define ITEM_FEXT                            23
#define ITEM_FILENAME                        24
#define ITEM_FMODE                           25
#define ITEM_FNAME                           26
#define ITEM_FPATH                           27
#define ITEM_FTYPE                           28
#define ITEM_FULLFNAME                       29
#define ITEM_GETENV                          30
#define ITEM_HEX                             31
#define ITEM_HEXDISPLAY                      32
#define ITEM_HEXSHOW                         33
#define ITEM_HIGHLIGHT                       34
#define ITEM_IDLINE                          35
#define ITEM_IMPMACRO                        36
#define ITEM_IMPOS                           37
#define ITEM_INPUTMODE                       38
#define ITEM_INSERTMODE                      39
#define ITEM_LASTMSG                         40
#define ITEM_LASTRC                          41
#define ITEM_LENGTH                          42
#define ITEM_LINE                            43
#define ITEM_LINEFLAG                        44
#define ITEM_LINEND                          45
#define ITEM_LSCREEN                         46
#define ITEM_MACRO                           47
#define ITEM_MACROEXT                        48
#define ITEM_MACROPATH                       49
#define ITEM_MARGINS                         50
#define ITEM_MONITOR                         51
#define ITEM_MOUSE                           52
#define ITEM_MSGLINE                         53
#define ITEM_MSGMODE                         54
#define ITEM_NBFILE                          55
#define ITEM_NEWLINES                        56
#define ITEM_NONDISP                         57
#define ITEM_NUMBER                          58
#define ITEM_PENDING                         59
#define ITEM_POINT                           60
#define ITEM_POSITION                        61
#define ITEM_PREFIX                          62
#define ITEM_PRINTER                         63
#define ITEM_READV                           64
#define ITEM_REPROFILE                       65
#define ITEM_RESERVED                        66
#define ITEM_REXXOUTPUT                      67
#define ITEM_RING                            68
#define ITEM_SCALE                           69
#define ITEM_SCOPE                           70
#define ITEM_SCREEN                          71
#define ITEM_SELECT                          72
#define ITEM_SHADOW                          73
#define ITEM_SHOWKEY                         74
#define ITEM_SIZE                            75
#define ITEM_STATUSLINE                      76
#define ITEM_STAY                            77
#define ITEM_TABKEY                          78
#define ITEM_TABLINE                         79
#define ITEM_TABS                            80
#define ITEM_TABSIN                          81
#define ITEM_TABSOUT                         82
#define ITEM_TERMINAL                        83
#define ITEM_TOF                             84
#define ITEM_TYPEAHEAD                       85
#define ITEM_VERIFY                          86
#define ITEM_VERSHIFT                        87
#define ITEM_VERSION                         88
#define ITEM_WIDTH                           89
#define ITEM_WORD                            90
#define ITEM_WORDWRAP                        91
#define ITEM_WRAP                            92
#define ITEM_XTERMINAL                       93
#define ITEM_ZONE                            94
/*---------------------------------------------------------------------*/
/* The following are item number defines for the boolean functions.    */
/*---------------------------------------------------------------------*/
#define ITEM_START_BOOLEANS                 200
#define ITEM_AFTER_FUNCTION                 200
#define ITEM_BATCH_FUNCTION                 201
#define ITEM_BEFORE_FUNCTION                202
#define ITEM_BLANK_FUNCTION                 203
#define ITEM_BLOCK_FUNCTION                 204
#define ITEM_BOTTOMEDGE_FUNCTION            205
#define ITEM_COMMAND_FUNCTION               206
#define ITEM_CURRENT_FUNCTION               207
#define ITEM_DIR_FUNCTION                   208
#define ITEM_END_FUNCTION                   209
#define ITEM_EOF_FUNCTION                   210
#define ITEM_FIRST_FUNCTION                 211
#define ITEM_FOCUSEOF_FUNCTION              212
#define ITEM_FOCUSTOF_FUNCTION              213
#define ITEM_INBLOCK_FUNCTION               214
#define ITEM_INCOMMAND_FUNCTION             215
#define ITEM_INITIAL_FUNCTION               216
#define ITEM_INPREFIX_FUNCTION              217
#define ITEM_LEFTEDGE_FUNCTION              218
#define ITEM_MODIFIABLE_FUNCTION            219
#define ITEM_MULTWINDOW_FUNCTION            220
#define ITEM_RIGHTEDGE_FUNCTION             221
#define ITEM_SPACECHAR_FUNCTION             222
#define ITEM_TOF_FUNCTION                   223
#define ITEM_TOPEDGE_FUNCTION               224
#define ITEM_VERONE_FUNCTION                225
/*---------------------------------------------------------------------*/
/* The following are item number defines for the 'other' functions.    */
/*---------------------------------------------------------------------*/
#define ITEM_VALID_TARGET_FUNCTION          250
#define ITEM_RUN_OS_FUNCTION                251

#define MAX_VARIABLES_RETURNED               30