| 1 |
/*- |
| 2 |
****************************************************************************** |
| 3 |
****************************************************************************** |
| 4 |
** |
| 5 |
** MODULE |
| 6 |
** |
| 7 |
** file: gblvars.h |
| 8 |
** |
| 9 |
** DESCRIPTION |
| 10 |
** |
| 11 |
** A 32-bit implementation of BibTeX v0.99c for MS-DOS, OS/2 2.x, |
| 12 |
** Unix and VMS. This C language implementation is based on the |
| 13 |
** original WEB source but it has been enhanced to support 8-bit input |
| 14 |
** characters and a very large processing capacity. |
| 15 |
** |
| 16 |
** For documentation describing how to use and build this program, |
| 17 |
** see the 00README.TXT file that accompanies this distribution. |
| 18 |
** |
| 19 |
** MODULE CONTENTS |
| 20 |
** |
| 21 |
** This module contains the declarations for all of the global |
| 22 |
** variables used by BibTeX. This module must be included by all of |
| 23 |
** the .C modules. The variables are declared in alphabetical order. |
| 24 |
** |
| 25 |
** AUTHORS |
| 26 |
** |
| 27 |
** Original WEB translation to C, conversion to "big" (32-bit) capacity, |
| 28 |
** addition of run-time selectable capacity and 8-bit support extensions |
| 29 |
** by: |
| 30 |
** |
| 31 |
** Niel Kempson |
| 32 |
** Snowy Owl Systems Limited, Cheltenham, England |
| 33 |
** E-mail: [email protected] |
| 34 |
** |
| 35 |
** 8-bit support extensions also by: |
| 36 |
** |
| 37 |
** Alejandro Aguilar-Sierra |
| 38 |
** Centro de Ciencias de la Atm\'osfera, |
| 39 |
** Universidad Nacional Aut\'onoma de M\'exico, M\'exico |
| 40 |
** E-mail: [email protected] |
| 41 |
** |
| 42 |
** COPYRIGHT |
| 43 |
** |
| 44 |
** This implementation copyright (c) 1991-1995 by Niel Kempson |
| 45 |
** and copyright (c) 1995 by Alejandro Aguilar-Sierra. |
| 46 |
** |
| 47 |
** This program is free software; you can redistribute it and/or |
| 48 |
** modify it under the terms of the GNU General Public License as |
| 49 |
** published by the Free Software Foundation; either version 1, or |
| 50 |
** (at your option) any later version. |
| 51 |
** |
| 52 |
** This program is distributed in the hope that it will be useful, |
| 53 |
** but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 54 |
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 55 |
** General Public License for more details. |
| 56 |
** |
| 57 |
** You should have received a copy of the GNU General Public License |
| 58 |
** along with this program; if not, write to the Free Software |
| 59 |
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 60 |
** |
| 61 |
** In other words, you are welcome to use, share and improve this |
| 62 |
** program. You are forbidden to forbid anyone else to use, share |
| 63 |
** and improve what you give them. Help stamp out software-hoarding! |
| 64 |
** |
| 65 |
** ACKNOWLEDGEMENT |
| 66 |
** |
| 67 |
** The original BibTeX was written by Oren Patashnik using Donald |
| 68 |
** Knuth's WEB system. This format produces a PASCAL program for |
| 69 |
** execution and a TeX documented version of the source code. This |
| 70 |
** program started as a (manual) translation of the WEB source into C. |
| 71 |
** |
| 72 |
** CHANGE LOG |
| 73 |
** |
| 74 |
** $Log: gblvars.h,v $ |
| 75 |
** Revision 3.71 1996/08/18 20:47:30 kempson |
| 76 |
** Official release 3.71 (see HISTORY file for details). |
| 77 |
** |
| 78 |
** Revision 3.70 1996/04/08 10:08:40 kempson |
| 79 |
** Final documentation & cosmetic changes for official release 3.70. |
| 80 |
** |
| 81 |
** Revision 3.6 1995/10/21 22:18:36 kempson |
| 82 |
** Added flag to support --wolfgang option. |
| 83 |
** |
| 84 |
** Revision 3.5 1995/09/24 20:44:37 kempson |
| 85 |
** Many changes for final beta test version. |
| 86 |
** |
| 87 |
** Revision 3.4 1995/04/09 22:15:45 kempson |
| 88 |
** Placed under RCS control |
| 89 |
** |
| 90 |
****************************************************************************** |
| 91 |
****************************************************************************** |
| 92 |
*/ |
| 93 |
#ifndef __GBLVARS_H__ |
| 94 |
# define __GBLVARS_H__ 1 |
| 95 |
|
| 96 |
|
| 97 |
/*- |
| 98 |
**---------------------------------------------------------------------------- |
| 99 |
** If this file is included by BIBTEX.C, declare all of the variables, |
| 100 |
** otherwise just reference them as extern. |
| 101 |
**---------------------------------------------------------------------------- |
| 102 |
*/ |
| 103 |
#ifdef __BIBTEX_C__ |
| 104 |
# define __EXTERN__ |
| 105 |
#else /* NOT __BIBTEX_C__ */ |
| 106 |
# define __EXTERN__ extern |
| 107 |
#endif /* __BIBTEX_C__ */ |
| 108 |
|
| 109 |
|
| 110 |
__EXTERN__ Boolean_T all_entries; |
| 111 |
__EXTERN__ CiteNumber_T all_marker; |
| 112 |
__EXTERN__ Boolean_T alpha_found; |
| 113 |
__EXTERN__ Boolean_T and_found; |
| 114 |
__EXTERN__ Boolean_T at_bib_command; |
| 115 |
__EXTERN__ LongJumpBuf_T Aux_Done_Flag; |
| 116 |
__EXTERN__ Integer_T aux_name_length; |
| 117 |
__EXTERN__ AuxNumber_T aux_ptr; |
| 118 |
|
| 119 |
__EXTERN__ HashLoc_T b_add_period; |
| 120 |
__EXTERN__ HashLoc_T b_bit_and; |
| 121 |
__EXTERN__ HashLoc_T b_bit_or; |
| 122 |
__EXTERN__ HashLoc_T b_call_type; |
| 123 |
__EXTERN__ HashLoc_T b_change_case; |
| 124 |
__EXTERN__ HashLoc_T b_chr_to_int; |
| 125 |
__EXTERN__ HashLoc_T b_cite; |
| 126 |
__EXTERN__ HashLoc_T b_concatenate; |
| 127 |
__EXTERN__ HashLoc_T b_default; |
| 128 |
__EXTERN__ HashLoc_T b_duplicate; |
| 129 |
__EXTERN__ HashLoc_T b_empty; |
| 130 |
__EXTERN__ HashLoc_T b_equals; |
| 131 |
__EXTERN__ HashLoc_T b_format_name; |
| 132 |
__EXTERN__ HashLoc_T b_gets; |
| 133 |
__EXTERN__ HashLoc_T b_greater_than; |
| 134 |
__EXTERN__ HashLoc_T b_if; |
| 135 |
__EXTERN__ HashLoc_T b_int_to_chr; |
| 136 |
__EXTERN__ HashLoc_T b_int_to_str; |
| 137 |
__EXTERN__ HashLoc_T b_less_than; |
| 138 |
__EXTERN__ HashLoc_T b_minus; |
| 139 |
__EXTERN__ HashLoc_T b_missing; |
| 140 |
__EXTERN__ HashLoc_T b_newline; |
| 141 |
__EXTERN__ HashLoc_T b_num_names; |
| 142 |
__EXTERN__ HashLoc_T b_plus; |
| 143 |
__EXTERN__ HashLoc_T b_pop; |
| 144 |
__EXTERN__ HashLoc_T b_preamble; |
| 145 |
__EXTERN__ HashLoc_T b_purify; |
| 146 |
__EXTERN__ HashLoc_T b_quote; |
| 147 |
__EXTERN__ HashLoc_T b_skip; |
| 148 |
__EXTERN__ HashLoc_T b_stack; |
| 149 |
__EXTERN__ HashLoc_T b_substring; |
| 150 |
__EXTERN__ HashLoc_T b_swap; |
| 151 |
__EXTERN__ HashLoc_T b_text_length; |
| 152 |
__EXTERN__ HashLoc_T b_text_prefix; |
| 153 |
__EXTERN__ HashLoc_T b_top_stack; |
| 154 |
__EXTERN__ HashLoc_T b_type; |
| 155 |
__EXTERN__ HashLoc_T b_warning; |
| 156 |
__EXTERN__ HashLoc_T b_while; |
| 157 |
__EXTERN__ HashLoc_T b_width; |
| 158 |
__EXTERN__ HashLoc_T b_write; |
| 159 |
#ifdef UTF_8 |
| 160 |
__EXTERN__ HashLoc_T b_cjk_string; |
| 161 |
#endif |
| 162 |
__EXTERN__ Integer_T bad; |
| 163 |
__EXTERN__ AlphaFile_T bbl_file; |
| 164 |
__EXTERN__ Integer_T bbl_line_num; |
| 165 |
__EXTERN__ Integer_T bib_brace_level; |
| 166 |
__EXTERN__ Integer_T bib_line_num; |
| 167 |
__EXTERN__ BibNumber_T bib_ptr; |
| 168 |
__EXTERN__ Boolean_T bib_seen; |
| 169 |
__EXTERN__ Integer_T brace_level; |
| 170 |
__EXTERN__ LongJumpBuf_T Bst_Done_Flag; |
| 171 |
__EXTERN__ AlphaFile_T bst_file; |
| 172 |
__EXTERN__ Integer_T bst_line_num; |
| 173 |
__EXTERN__ Boolean_T bst_seen; |
| 174 |
__EXTERN__ StrNumber_T bst_str; |
| 175 |
__EXTERN__ BufPointer_T buf_ptr1; |
| 176 |
__EXTERN__ BufPointer_T buf_ptr2; |
| 177 |
|
| 178 |
__EXTERN__ Boolean_T citation_seen; |
| 179 |
__EXTERN__ Boolean_T cite_found; |
| 180 |
__EXTERN__ Boolean_T cite_hash_found; |
| 181 |
__EXTERN__ HashLoc_T cite_loc; |
| 182 |
__EXTERN__ CiteNumber_T cite_parent_ptr; |
| 183 |
__EXTERN__ CiteNumber_T cite_ptr; |
| 184 |
__EXTERN__ CiteNumber_T cite_xptr; |
| 185 |
__EXTERN__ LongJumpBuf_T Close_Up_Shop_Flag; |
| 186 |
__EXTERN__ StrNumber_T cmd_str_ptr; |
| 187 |
__EXTERN__ BufPointer_T comma1; |
| 188 |
__EXTERN__ BufPointer_T comma2; |
| 189 |
__EXTERN__ Integer_T command_num; |
| 190 |
__EXTERN__ HashLoc_T control_seq_loc; |
| 191 |
__EXTERN__ Integer8_T conversion_type; |
| 192 |
__EXTERN__ FieldLoc_T crossref_num; |
| 193 |
__EXTERN__ HashLoc_T cur_macro_loc; |
| 194 |
__EXTERN__ BufPointer_T cur_token; |
| 195 |
|
| 196 |
__EXTERN__ Boolean_T double_letter; |
| 197 |
__EXTERN__ HashLoc_T dummy_loc; |
| 198 |
|
| 199 |
__EXTERN__ Boolean_T end_of_group; |
| 200 |
__EXTERN__ Integer_T ent_chr_ptr; |
| 201 |
__EXTERN__ CiteNumber_T entry_cite_ptr; |
| 202 |
__EXTERN__ Boolean_T entry_seen; |
| 203 |
__EXTERN__ HashLoc_T entry_type_loc; |
| 204 |
__EXTERN__ Integer_T err_count; |
| 205 |
__EXTERN__ BufPointer_T ex_buf_length; |
| 206 |
__EXTERN__ BufPointer_T ex_buf_ptr; |
| 207 |
__EXTERN__ BufPointer_T ex_buf_xptr; |
| 208 |
__EXTERN__ BufPointer_T ex_buf_yptr; |
| 209 |
__EXTERN__ LongJumpBuf_T Exit_Program_Flag; |
| 210 |
|
| 211 |
__EXTERN__ FieldLoc_T field_end_ptr; |
| 212 |
__EXTERN__ HashLoc_T field_name_loc; |
| 213 |
__EXTERN__ FieldLoc_T field_parent_ptr; |
| 214 |
__EXTERN__ FieldLoc_T field_ptr; |
| 215 |
__EXTERN__ HashLoc_T field_val_loc; |
| 216 |
__EXTERN__ BufPointer_T first_end; |
| 217 |
__EXTERN__ BufPointer_T first_start; |
| 218 |
__EXTERN__ HashLoc_T fn_loc; |
| 219 |
|
| 220 |
__EXTERN__ Integer_T glob_chr_ptr; |
| 221 |
|
| 222 |
__EXTERN__ Boolean_T hash_found; |
| 223 |
__EXTERN__ Integer16_T hash_used; |
| 224 |
__EXTERN__ Integer8_T history; |
| 225 |
|
| 226 |
__EXTERN__ Integer_T impl_fn_num; |
| 227 |
__EXTERN__ IntEntLoc_T int_ent_ptr; |
| 228 |
|
| 229 |
__EXTERN__ BufPointer_T jr_end; |
| 230 |
|
| 231 |
__EXTERN__ BufPointer_T last; |
| 232 |
__EXTERN__ BufPointer_T last_end; |
| 233 |
__EXTERN__ BufPointer_T last_token; |
| 234 |
__EXTERN__ HashLoc_T lc_cite_loc; |
| 235 |
__EXTERN__ HashLoc_T lc_xcite_loc; |
| 236 |
__EXTERN__ HashLoc_T literal_loc; |
| 237 |
__EXTERN__ LitStkLoc_T lit_stk_ptr; |
| 238 |
__EXTERN__ AlphaFile_T log_file; |
| 239 |
|
| 240 |
__EXTERN__ HashLoc_T macro_def_loc; |
| 241 |
__EXTERN__ HashLoc_T macro_name_loc; |
| 242 |
__EXTERN__ Boolean_T mess_with_entries; |
| 243 |
|
| 244 |
__EXTERN__ BufPointer_T name_bf_ptr; |
| 245 |
__EXTERN__ BufPointer_T name_bf_xptr; |
| 246 |
__EXTERN__ BufPointer_T name_bf_yptr; |
| 247 |
__EXTERN__ Integer_T name_length; |
| 248 |
__EXTERN__ Integer_T name_ptr; |
| 249 |
__EXTERN__ Integer_T nm_brace_level; |
| 250 |
__EXTERN__ Boolean_T no_fields; |
| 251 |
__EXTERN__ BibNumber_T num_bib_files; |
| 252 |
__EXTERN__ CiteNumber_T num_cites; |
| 253 |
__EXTERN__ BufPointer_T num_commas; |
| 254 |
__EXTERN__ IntEntLoc_T num_ent_ints; |
| 255 |
__EXTERN__ StrEntLoc_T num_ent_strs; |
| 256 |
__EXTERN__ FieldLoc_T num_fields; |
| 257 |
__EXTERN__ Integer8_T num_glb_strs; |
| 258 |
__EXTERN__ Integer_T num_names; |
| 259 |
__EXTERN__ BibNumber_T num_preamble_strings; |
| 260 |
__EXTERN__ FieldLoc_T num_pre_defined_fields; |
| 261 |
__EXTERN__ BufPointer_T num_text_chars; |
| 262 |
__EXTERN__ BufPointer_T num_tokens; |
| 263 |
|
| 264 |
__EXTERN__ CiteNumber_T old_num_cites; |
| 265 |
__EXTERN__ BufPointer_T out_buf_length; |
| 266 |
__EXTERN__ BufPointer_T out_buf_ptr; |
| 267 |
|
| 268 |
__EXTERN__ PoolPointer_T pool_ptr; |
| 269 |
__EXTERN__ Integer_T pop_lit1; |
| 270 |
__EXTERN__ Integer_T pop_lit2; |
| 271 |
__EXTERN__ Integer_T pop_lit3; |
| 272 |
__EXTERN__ StkType_T pop_typ1; |
| 273 |
__EXTERN__ StkType_T pop_typ2; |
| 274 |
__EXTERN__ StkType_T pop_typ3; |
| 275 |
__EXTERN__ PoolPointer_T p_ptr1; |
| 276 |
__EXTERN__ PoolPointer_T p_ptr2; |
| 277 |
__EXTERN__ BibNumber_T preamble_ptr; |
| 278 |
__EXTERN__ Boolean_T preceding_white; |
| 279 |
__EXTERN__ HashLoc_T pre_def_loc; |
| 280 |
__EXTERN__ Boolean_T prev_colon; |
| 281 |
|
| 282 |
__EXTERN__ Boolean_T read_completed; |
| 283 |
__EXTERN__ Boolean_T reading_completed; |
| 284 |
__EXTERN__ Boolean_T read_performed; |
| 285 |
__EXTERN__ Boolean_T read_seen; |
| 286 |
__EXTERN__ ASCIICode_T right_outer_delim; |
| 287 |
__EXTERN__ ASCIICode_T right_str_delim; |
| 288 |
|
| 289 |
__EXTERN__ StrNumber_T s_aux_extension; |
| 290 |
__EXTERN__ StrNumber_T s_bbl_extension; |
| 291 |
__EXTERN__ StrNumber_T s_bib_extension; |
| 292 |
__EXTERN__ StrNumber_T s_bst_extension; |
| 293 |
__EXTERN__ StrNumber_T s_default; |
| 294 |
__EXTERN__ StrNumber_T s_l; |
| 295 |
__EXTERN__ StrNumber_T s_log_extension; |
| 296 |
__EXTERN__ StrNumber_T s_null; |
| 297 |
__EXTERN__ StrNumber_T s_t; |
| 298 |
__EXTERN__ StrNumber_T s_u; |
| 299 |
__EXTERN__ Integer8_T scan_result; |
| 300 |
__EXTERN__ CiteNumber_T sort_cite_ptr; |
| 301 |
__EXTERN__ StrEntLoc_T sort_key_num; |
| 302 |
__EXTERN__ Integer_T sp_brace_level; |
| 303 |
__EXTERN__ PoolPointer_T sp_end; |
| 304 |
__EXTERN__ PoolPointer_T sp_length; |
| 305 |
__EXTERN__ PoolPointer_T sp_ptr; |
| 306 |
__EXTERN__ PoolPointer_T sp_xptr1; |
| 307 |
__EXTERN__ PoolPointer_T sp_xptr2; |
| 308 |
__EXTERN__ PoolPointer_T sp2_length; |
| 309 |
__EXTERN__ Boolean_T store_entry; |
| 310 |
__EXTERN__ Boolean_T store_field; |
| 311 |
__EXTERN__ Boolean_T store_token; |
| 312 |
__EXTERN__ StrEntLoc_T str_ent_ptr; |
| 313 |
__EXTERN__ UChar_T str_glb_ptr; |
| 314 |
__EXTERN__ Integer_T string_width; |
| 315 |
__EXTERN__ StrNumber_T str_num; |
| 316 |
__EXTERN__ StrNumber_T str_ptr; |
| 317 |
__EXTERN__ BufPointer_T sv_ptr1; |
| 318 |
__EXTERN__ BufPointer_T sv_ptr2; |
| 319 |
|
| 320 |
__EXTERN__ Integer_T tmp_end_ptr; |
| 321 |
__EXTERN__ Integer_T tmp_ptr; |
| 322 |
__EXTERN__ Boolean_T to_be_written; |
| 323 |
__EXTERN__ Boolean_T token_starting; |
| 324 |
__EXTERN__ Integer_T token_value; |
| 325 |
__EXTERN__ StrNumber_T top_lev_str; |
| 326 |
__EXTERN__ Boolean_T type_exists; |
| 327 |
|
| 328 |
__EXTERN__ Boolean_T use_default; |
| 329 |
|
| 330 |
__EXTERN__ BufPointer_T von_end; |
| 331 |
__EXTERN__ BufPointer_T von_start; |
| 332 |
|
| 333 |
__EXTERN__ WizFnLoc_T wiz_def_ptr; |
| 334 |
__EXTERN__ WizFnLoc_T wiz_fn_ptr; |
| 335 |
__EXTERN__ HashLoc_T wiz_loc; |
| 336 |
|
| 337 |
#ifdef STAT |
| 338 |
__EXTERN__ HashLoc_T blt_in_loc[NUM_BLT_IN_FNS + 1]; |
| 339 |
__EXTERN__ BltInRange_T blt_in_ptr; |
| 340 |
__EXTERN__ Integer_T execution_count[NUM_BLT_IN_FNS + 1]; |
| 341 |
__EXTERN__ Integer_T total_ex_count; |
| 342 |
#endif /* STAT */ |
| 343 |
|
| 344 |
|
| 345 |
/*- |
| 346 |
**---------------------------------------------------------------------------- |
| 347 |
** STATIC GLOBAL ARRAYS DECLARED HERE |
| 348 |
**---------------------------------------------------------------------------- |
| 349 |
*/ |
| 350 |
__EXTERN__ AlphaFile_T aux_file[AUX_STACK_SIZE + 1]; |
| 351 |
__EXTERN__ StrNumber_T aux_list[AUX_STACK_SIZE + 1]; |
| 352 |
__EXTERN__ Integer_T aux_ln_stack[AUX_STACK_SIZE + 1]; |
| 353 |
__EXTERN__ Integer_T char_width[LAST_LATIN_CHAR + 1]; |
| 354 |
__EXTERN__ IDType_T id_class[LAST_ASCII_CHAR + 1]; |
| 355 |
__EXTERN__ LexType_T lex_class[LAST_ASCII_CHAR + 1]; |
| 356 |
__EXTERN__ unsigned char xchr[LAST_ASCII_CHAR + 1]; |
| 357 |
__EXTERN__ ASCIICode_T xord[LAST_TEXT_CHAR + 1]; |
| 358 |
|
| 359 |
#ifdef SUPPORT_8BIT |
| 360 |
/* |
| 361 |
** Special arrays to manage character set report. |
| 362 |
** |
| 363 |
** c8upcase - contains the lowercase equivalent for each character. |
| 364 |
** If a character has no lowercase equivalent (e.g. |
| 365 |
** because it's not a letter), the value is set to that of |
| 366 |
** the character. |
| 367 |
** |
| 368 |
** c8lowcase - contains the uppercase equivalent for each character |
| 369 |
** If a character has no uppercase equivalent (e.g. |
| 370 |
** because it's not a letter), the value is set to that of |
| 371 |
** the character. |
| 372 |
** |
| 373 |
** c8order - contains the sorting weight for each character. If a |
| 374 |
** character doesn't have a specified sorting weight, it |
| 375 |
** will be set to the default SORT_LAST to ensure that it |
| 376 |
** is sorted after any defined character. |
| 377 |
*/ |
| 378 |
__EXTERN__ unsigned char c8upcase[LAST_TEXT_CHAR + 1]; |
| 379 |
__EXTERN__ unsigned char c8lowcase[LAST_TEXT_CHAR + 1]; |
| 380 |
__EXTERN__ int c8order[LAST_TEXT_CHAR + 1]; |
| 381 |
#endif /* SUPPORT_8BIT */ |
| 382 |
|
| 383 |
|
| 384 |
/*- |
| 385 |
**---------------------------------------------------------------------------- |
| 386 |
** DYNAMICALLY ALLOCATED GLOBAL ARRAYS DECLARED HERE |
| 387 |
**---------------------------------------------------------------------------- |
| 388 |
*/ |
| 389 |
__EXTERN__ AlphaFile_T *bib_file; |
| 390 |
__EXTERN__ StrNumber_T *bib_list; |
| 391 |
__EXTERN__ ASCIICode_T *buffer; |
| 392 |
__EXTERN__ StrNumber_T *cite_info; |
| 393 |
__EXTERN__ StrNumber_T *cite_list; |
| 394 |
__EXTERN__ Boolean_T *entry_exists; |
| 395 |
__EXTERN__ Integer_T *entry_ints; |
| 396 |
__EXTERN__ ASCIICode_T *entry_strs; |
| 397 |
__EXTERN__ ASCIICode_T *ex_buf; |
| 398 |
__EXTERN__ StrNumber_T *field_info; |
| 399 |
__EXTERN__ FnClass_T *fn_type; |
| 400 |
__EXTERN__ Integer_T *glb_str_end; |
| 401 |
__EXTERN__ StrNumber_T *glb_str_ptr; |
| 402 |
__EXTERN__ ASCIICode_T *global_strs; |
| 403 |
__EXTERN__ StrIlk_T *hash_ilk; |
| 404 |
__EXTERN__ HashPointer_T *hash_next; |
| 405 |
__EXTERN__ StrNumber_T *hash_text; |
| 406 |
__EXTERN__ Integer_T *ilk_info; |
| 407 |
__EXTERN__ Integer_T *lit_stack; |
| 408 |
__EXTERN__ StkType_T *lit_stk_type; |
| 409 |
__EXTERN__ unsigned char *name_of_file; |
| 410 |
__EXTERN__ ASCIICode_T *name_sep_char; |
| 411 |
__EXTERN__ BufPointer_T *name_tok; |
| 412 |
__EXTERN__ ASCIICode_T *out_buf; |
| 413 |
__EXTERN__ StrNumber_T *s_preamble; |
| 414 |
__EXTERN__ ASCIICode_T *str_pool; |
| 415 |
__EXTERN__ PoolPointer_T *str_start; |
| 416 |
__EXTERN__ ASCIICode_T *sv_buffer; |
| 417 |
__EXTERN__ HashPtr2_T *type_list; |
| 418 |
__EXTERN__ HashPtr2_T *wiz_functions; |
| 419 |
|
| 420 |
|
| 421 |
/*- |
| 422 |
**---------------------------------------------------------------------------- |
| 423 |
** Variables used to record the results of the command line parsing. |
| 424 |
**---------------------------------------------------------------------------- |
| 425 |
*/ |
| 426 |
#ifdef UTF_8 |
| 427 |
__EXTERN__ Boolean_T Flag_language; |
| 428 |
__EXTERN__ char *Str_language; |
| 429 |
__EXTERN__ Boolean_T Flag_location; |
| 430 |
__EXTERN__ char *Str_location; |
| 431 |
__EXTERN__ UCollator *u_coll; |
| 432 |
#endif |
| 433 |
__EXTERN__ Boolean_T Flag_7bit; |
| 434 |
__EXTERN__ Boolean_T Flag_8bit; |
| 435 |
__EXTERN__ Boolean_T Flag_8bit_alpha; |
| 436 |
__EXTERN__ Boolean_T Flag_big; |
| 437 |
__EXTERN__ Boolean_T Flag_debug; |
| 438 |
__EXTERN__ Boolean_T Flag_huge; |
| 439 |
__EXTERN__ Boolean_T Flag_stats; |
| 440 |
__EXTERN__ Boolean_T Flag_trace; |
| 441 |
__EXTERN__ Boolean_T Flag_wolfgang; |
| 442 |
__EXTERN__ Integer_T M_min_crossrefs; |
| 443 |
__EXTERN__ Integer_T M_strings; |
| 444 |
__EXTERN__ char *Str_auxfile; |
| 445 |
__EXTERN__ char *Str_csfile; |
| 446 |
|
| 447 |
|
| 448 |
/*- |
| 449 |
**---------------------------------------------------------------------------- |
| 450 |
** Variables used to hold the value of certain key capacity limits. The |
| 451 |
** values used to be #defined as the uppercase equivalent name, but can |
| 452 |
** now be set dynamically from the command line. |
| 453 |
**---------------------------------------------------------------------------- |
| 454 |
*/ |
| 455 |
__EXTERN__ Integer_T Buf_Size; |
| 456 |
__EXTERN__ Integer_T Ent_Str_Size; |
| 457 |
__EXTERN__ Integer_T Glob_Str_Size; |
| 458 |
__EXTERN__ Integer_T Hash_Prime; |
| 459 |
__EXTERN__ Integer_T Hash_Size; |
| 460 |
__EXTERN__ Integer_T Lit_Stk_Size; |
| 461 |
__EXTERN__ Integer_T Max_Bib_Files; |
| 462 |
__EXTERN__ Integer_T Max_Cites; |
| 463 |
__EXTERN__ Integer_T Max_Fields; |
| 464 |
__EXTERN__ Integer_T Max_Glob_Strs; |
| 465 |
__EXTERN__ Integer_T Max_Print_Line; |
| 466 |
__EXTERN__ Integer_T Max_Strings; |
| 467 |
__EXTERN__ Integer_T Min_Crossrefs; |
| 468 |
__EXTERN__ Integer_T Pool_Size; |
| 469 |
__EXTERN__ Integer_T Wiz_Fn_Space; |
| 470 |
#endif /* __GBLVARS.H__ */ |