home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / UUPC11XT.ZIP / RN / ARTSRCH.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-11-21  |  1.2 KB  |  47 lines

  1. /* $Header: E:\SRC\UUPC\RN\RCS/ARTSRCH.H 1.1 1992/11/21 20:56:49 ahd Exp $
  2.  *
  3.  * $Log: ARTSRCH.H $
  4.  * Revision 1.1  1992/11/21  20:56:49  ahd
  5.  * Initial revision
  6.  *
  7.  *
  8.  *    Rev 1.0   18 Nov 1990  0:22:42
  9.  * Initial revision.
  10.  * Revision 4.3  85/05/01  11:35:55  lwall
  11.  * Baseline for release with 4.3bsd.
  12.  *
  13.  */
  14.  
  15. #ifndef NBRA
  16. #include "search.h"
  17. #endif
  18.  
  19. #ifdef ARTSEARCH
  20.  
  21. #define SRCH_ABORT 0
  22. #define SRCH_INTR 1
  23. #define SRCH_FOUND 2
  24. #define SRCH_NOTFOUND 3
  25. #define SRCH_DONE 4
  26. #define SRCH_SUBJDONE 5
  27. #define SRCH_ERROR 6
  28. #endif
  29.  
  30. EXT char *lastpat INIT(nullstr); /* last search pattern */
  31. #ifdef ARTSEARCH
  32.     EXT COMPEX sub_compex;    /* last compiled subject search */
  33.     EXT COMPEX art_compex;    /* last compiled normal search */
  34. #   ifdef CONDSUB
  35.    EXT COMPEX *bra_compex INIT(&art_compex);
  36.                /* current compex with brackets */
  37. #   endif
  38.     EXT char art_howmuch;     /* search just the subjects */
  39.     EXT bool art_doread;      /* search read articles? */
  40. #endif
  41.  
  42. void  artsrch_init();
  43. #ifdef ARTSEARCH
  44.     int     art_search();
  45.     bool wanted();   /* return TRUE if current article matches pattern */
  46. #endif
  47.