home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume23 / trn / part13 / rthreads.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-22  |  1.6 KB  |  62 lines

  1. /* $Header: rthreads.h,v 4.3.3.2 91/01/16 03:28:54 davison Trn $
  2. **
  3. ** $Log:    rthreads.h,v $
  4. ** Revision 4.3.3.2  91/01/16  03:28:54  davison
  5. ** Added optional prototyping.
  6. ** 
  7. ** Revision 4.3.3.1  90/06/20  22:56:01  davison
  8. ** Initial Trn Release
  9. ** 
  10. */
  11.  
  12. #include "threads.h"
  13.  
  14. EXT TOTAL total;
  15.  
  16. EXT PACKED_ROOT *p_roots INIT(0);
  17. EXT WORD *root_subjects INIT(0);
  18. EXT WORD *author_cnts INIT(0);
  19. EXT WORD *subject_cnts INIT(0);
  20. EXT char **author_ptrs INIT(0);
  21. EXT char **subject_ptrs INIT(0);
  22. EXT PACKED_ARTICLE *p_articles INIT(0);
  23. EXT WORD *root_article_cnts INIT(0);
  24. EXT char *selected_roots INIT(0);
  25. EXT ART_NUM *saved_selections INIT(0);
  26. EXT bool unread_selector INIT(0);
  27.  
  28. EXT PACKED_ARTICLE *p_art INIT(0);
  29. EXT PACKED_ARTICLE *curr_p_art INIT(0);
  30. EXT PACKED_ARTICLE *recent_p_art INIT(0);
  31.  
  32. EXT int selected_root_cnt INIT(0);
  33. EXT ART_NUM selected_count INIT(0);
  34. EXT int unthreaded INIT(0);
  35. EXT int select_page;
  36. EXT bool scan_all_roots;
  37.  
  38. EXT bool word_same, long_same;
  39. EXT BMAP my_bmap, mt_bmap;
  40.  
  41. void thread_init ANSI((void));
  42. void mybytemap ANSI((BMAP *));
  43. char *thread_name ANSI((char *));
  44. char *safemalloc ANSI((MEM_SIZE));
  45. int use_data ANSI((char *));
  46. void unuse_data ANSI((bool));
  47. void find_article ANSI((ART_NUM));
  48. void init_tree ANSI((void));
  49. void entire_tree ANSI((void));
  50. int tree_puts ANSI((char *,ART_LINE,int));
  51. int finish_tree ANSI((ART_LINE));
  52. void first_art ANSI((void));
  53. void follow_thread ANSI((char));
  54. void next_root ANSI((void));
  55. void prev_root ANSI((void));
  56. char select_thread ANSI((char));
  57. int count_roots ANSI((bool));
  58. int count_one_root ANSI((int));
  59. PACKED_ARTICLE *upper_limit ANSI((PACKED_ARTICLE *,bool));
  60.  
  61. #define Nullart Null(PACKED_ARTICLE*)
  62.