home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / trn_12.zip / src / rthreads.h < prev    next >
C/C++ Source or Header  |  1993-12-04  |  2KB  |  58 lines

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