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

  1. /* $Id: ngdata.h,v 4.4 1991/09/09 20:23:31 sob Exp sob $
  2.  *
  3.  * $Log: ngdata.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. EXT FILE *actfp INIT(Nullfp);    /* the active file */
  24. EXT bool writesoft INIT(FALSE);    /* rewrite the soft pointer file? */
  25. EXT int softtries INIT(0), softmisses INIT(0);
  26.  
  27. #ifdef SERVER
  28.     EXT char active_name[MAXFILENAME];
  29. #endif
  30.  
  31. #ifdef CACHEFIRST
  32.     EXT ART_NUM *abs1st INIT(NULL);    /* 1st real article in newsgroup */
  33. #else
  34. # ifdef MININACT
  35.     EXT ART_NUM abs1st INIT(0);
  36. # endif
  37. #endif
  38.  
  39. EXT char *moderated;
  40. #ifdef USETHREADS
  41. EXT char *tmpthread_group INIT(Nullch);
  42. EXT int tmpthread_glen INIT(0);
  43. EXT char *tmpthread_file INIT(Nullch);
  44. EXT bool ThreadedGroup;
  45. #endif
  46. EXT long activeitems;            /* number of enties in active file */
  47. void    ngdata_init ANSI((void));
  48. ART_NUM    getngsize ANSI((NG_NUM));
  49. ACT_POS findact ANSI((char *,char *,int,long));
  50. ART_NUM    getabsfirst ANSI((NG_NUM,ART_NUM));
  51. ART_NUM    getngmin ANSI((char *,ART_NUM));
  52.