home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / trn / part01 / rthreads.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-12-02  |  1.6 KB  |  58 lines

  1. /* $Id: rthreads.h,v 4.4.3.1 1991/11/22 04:12:18 davison Trn $
  2. **
  3. ** $Log: rthreads.h,v $
  4. ** Revision 4.4.3.1  1991/11/22  04:12:18  davison
  5. ** Trn Release 2.0
  6. ** 
  7. */
  8.  
  9. EXT TOTAL total;
  10.  
  11. EXT PACKED_ROOT *p_roots INIT(0);
  12. EXT WORD *root_subjects INIT(0);
  13. EXT WORD *author_cnts INIT(0);
  14. EXT WORD *subject_cnts INIT(0);
  15. EXT char **author_ptrs INIT(0);
  16. EXT char **subject_ptrs INIT(0);
  17. EXT PACKED_ARTICLE *p_articles INIT(0);
  18. EXT WORD *root_article_cnts INIT(0);
  19. EXT char *selected_roots INIT(0);
  20. EXT ART_NUM *saved_selections INIT(0);
  21. EXT bool unread_selector INIT(0);
  22.  
  23. EXT PACKED_ARTICLE *p_art INIT(0);
  24. EXT PACKED_ARTICLE *curr_p_art INIT(0);
  25. EXT PACKED_ARTICLE *recent_p_art INIT(0);
  26.  
  27. EXT int selected_root_cnt INIT(0);
  28. EXT ART_NUM selected_count INIT(0);
  29. EXT int unthreaded INIT(0);
  30. EXT int select_page;
  31. EXT bool scan_all_roots;
  32. EXT bool output_chase_phrase;
  33.  
  34. #ifndef USETMPTHREAD
  35. EXT int tobethreaded INIT(0);
  36. #endif
  37.  
  38. void thread_init ANSI((void));
  39. char *safemalloc ANSI((MEM_SIZE));
  40. int use_data ANSI((bool_int));
  41. void unuse_data ANSI((bool_int));
  42. void find_article ANSI((ART_NUM));
  43. void init_tree ANSI((void));
  44. void entire_tree ANSI((void));
  45. int tree_puts ANSI((char *,ART_LINE,int));
  46. int finish_tree ANSI((ART_LINE));
  47. void first_art ANSI((void));
  48. void follow_thread ANSI((char_int));
  49. void backtrack_thread ANSI((char_int));
  50. void next_root ANSI((void));
  51. void prev_root ANSI((void));
  52. char select_thread ANSI((char_int));
  53. int count_roots ANSI((bool_int));
  54. int count_one_root ANSI((int));
  55. PACKED_ARTICLE *upper_limit ANSI((PACKED_ARTICLE *,bool_int));
  56.  
  57. #define Nullart Null(PACKED_ARTICLE*)
  58.