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

  1. /* $Id: ngsrch.h,v 4.4 1991/09/09 20:23:31 sob Exp sob $
  2.  *
  3.  * $Log: ngsrch.h,v $
  4.  * Revision 4.4  1991/09/09  20:23:31  sob
  5.  * release 4.4
  6.  *
  7.  *
  8.  * 
  9.  */
  10. /* This software is Copyright 1991 by Stan Barber. 
  11.  *
  12.  * Permission is hereby granted to copy, reproduce, redistribute or otherwise
  13.  * use this software as long as: there is no monetary profit gained
  14.  * specifically from the use or reproduction of this software, it is not
  15.  * sold, rented, traded or otherwise marketed, and this copyright notice is
  16.  * included prominently in any copy made. 
  17.  *
  18.  * The author make no claims as to the fitness or correctness of this software
  19.  * for any use whatsoever, and it is provided as is. Any use of this software
  20.  * is at the user's own risk. 
  21.  */
  22.  
  23. #ifdef NGSEARCH
  24. #define NGS_ABORT 0
  25. #define NGS_FOUND 1
  26. #define NGS_INTR 2
  27. #define NGS_NOTFOUND 3
  28. #define NGS_ERROR 4
  29.  
  30. EXT bool ng_doread INIT(FALSE);        /* search read newsgroups? */
  31. #endif
  32.  
  33. void    ngsrch_init ANSI((void));
  34. #ifdef NGSEARCH 
  35.     int        ng_search ANSI((char *,int));
  36.     bool    ng_wanted ANSI((void));
  37. #endif
  38. #ifdef NGSORONLY
  39.     char    *ng_comp ANSI((COMPEX *,char *,bool_int,bool_int));
  40. #endif
  41.