home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Tex / Tex29 / StTeXsrc.zoo / src / hyph.h < prev    next >
C/C++ Source or Header  |  1988-03-13  |  1KB  |  82 lines

  1.  
  2. /*
  3.  * @(#)hyph.h 2.5 EPA
  4.  *
  5.  * Copyright 1987,1988 Pat J Monardo
  6.  *
  7.  * Redistribution of this file is permitted through
  8.  * the specifications in the file COPYING.
  9.  *
  10.  * 
  11.  */
  12.  
  13. global  ptr     ha;
  14. global  ptr     hb;
  15. global  hword   hc[];
  16. global  int     hn;
  17. global  fnt     hf;
  18. global  ascii   hu[];
  19. global  int     hyf_char;
  20.  
  21. int     hyphenate();
  22.  
  23. global  byte    hyf[];
  24. global  int     hyphen_passed;
  25.  
  26. int     reconstitute();
  27.  
  28. #define trie_link(T)        trie[T].hh2.rh
  29. #define trie_char(T)        trie[T].hh2.b1
  30. #define trie_op(T)          trie[T].hh2.b0
  31.  
  32. global  hh  trie[];
  33. global  int     trie_max;
  34.  
  35. global  int     hyf_distance[];
  36. global  int     hyf_num[];
  37. global  qword   hyf_next[];
  38.  
  39. int     new_hyph_exceptions();
  40.  
  41. global  str     hyph_word[];
  42. global  ptr     hyph_list[];
  43. global  int     hyph_count;
  44.  
  45. global  qword       trie_op_ptr;
  46. #ifdef INIT
  47.  
  48. global  qword   trie_op_hash[];
  49. global  int     trie_min;
  50.  
  51. qword   new_trie_op();
  52.  
  53. #define trie_root       trie_l[0]
  54.  
  55. global  int     trie_ptr;
  56. global  ascii   trie_c[];
  57. global  qword   trie_o[];
  58. global  int     trie_l[];
  59. global  int     trie_r[];
  60.  
  61. global  int     trie_hash[];
  62.  
  63. int     trie_node();
  64. int     compress_trie();
  65.  
  66. int     init_pattern_memory();
  67.  
  68. #define trie_ref            trie_hash
  69. #define trie_back(T)        trie[T].hh1.lh
  70.  
  71. global  bool    trie_taken[];
  72.  
  73. int     init_trie_memory();
  74.  
  75. int     first_fit();
  76. int     trie_pack();
  77. int     trie_fix();
  78.  
  79. int     new_patterns();
  80.  
  81. #endif
  82.