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

  1. /* $Id: ngdata.h,v 4.4.3.1 1992/02/01 03:09:32 sob PATCH_3 sob $
  2.  *
  3.  * $Log: ngdata.h,v $
  4.  * Revision 4.4.3.1  1992/02/01  03:09:32  sob
  5.  * Release 4.4 Patchlevel 3
  6.  *
  7.  * Revision 4.4  1991/09/09  20:23:31  sob
  8.  * release 4.4
  9.  *
  10.  *
  11.  * 
  12.  */
  13. /* This software is Copyright 1991 by Stan Barber. 
  14.  *
  15.  * Permission is hereby granted to copy, reproduce, redistribute or otherwise
  16.  * use this software as long as: there is no monetary profit gained
  17.  * specifically from the use or reproduction of this software, it is not
  18.  * sold, rented, traded or otherwise marketed, and this copyright notice is
  19.  * included prominently in any copy made. 
  20.  *
  21.  * The author make no claims as to the fitness or correctness of this software
  22.  * for any use whatsoever, and it is provided as is. Any use of this software
  23.  * is at the user's own risk. 
  24.  */
  25.  
  26. EXT FILE *actfp INIT(Nullfp);    /* the active file */
  27. EXT bool writesoft INIT(FALSE);    /* rewrite the soft pointer file? */
  28. EXT int softtries INIT(0), softmisses INIT(0);
  29.  
  30. #ifdef SERVER
  31.     EXT char active_name[MAXFILENAME];
  32.     EXT time_t lastactfetch INIT(0);
  33. #define MINFETCHTIME (2 * 60 * 60)
  34. #endif
  35.  
  36. #ifdef CACHEFIRST
  37.     EXT ART_NUM *abs1st INIT(NULL);    /* 1st real article in newsgroup */
  38. #else
  39. # ifdef MININACT
  40.     EXT ART_NUM abs1st INIT(0);
  41. # endif
  42. #endif
  43.  
  44. EXT char *moderated;
  45. #ifdef USETHREADS
  46. EXT char *tmpthread_group INIT(Nullch);
  47. EXT int tmpthread_glen INIT(0);
  48. EXT char *tmpthread_file INIT(Nullch);
  49. EXT bool ThreadedGroup;
  50. #endif
  51. EXT long activeitems;            /* number of enties in active file */
  52. void    ngdata_init ANSI((void));
  53. ART_NUM    getngsize ANSI((NG_NUM));
  54. ACT_POS findact ANSI((char *,char *,int,long));
  55. ART_NUM    getabsfirst ANSI((NG_NUM,ART_NUM));
  56. ART_NUM    getngmin ANSI((char *,ART_NUM));
  57.