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

  1. /* $Id: rn.h,v 4.4 1991/09/09 20:27:37 sob Exp sob $
  2.  *
  3.  * $Log: rn.h,v $
  4.  * Revision 4.4  1991/09/09  20:27:37  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 char *ngname INIT(Nullch);        /* name of current newsgroup */
  24. EXT int ngnlen INIT(0);            /* current malloced size of ngname */
  25. EXT char *ngdir INIT(Nullch);        /* same thing in directory name form */
  26. EXT int ngdlen INIT(0);            /* current malloced size of ngdir */
  27.  
  28. EXT NG_NUM ng INIT(0);        /* current newsgroup index into rcline and toread */
  29. EXT NG_NUM current_ng INIT(0);    /* stable current newsgroup so we can ditz with ng */
  30. EXT NG_NUM starthere INIT(0);   /* set to the first newsgroup with unread news on startup */
  31. EXT char *spool INIT(Nullch);        /* public news spool directory */
  32. #ifdef USETHREADS
  33. EXT char *threaddir INIT(Nullch);    /* directory for thread data */
  34. EXT char *mtlib INIT(Nullch);        /* directory for mthreads files */
  35. #endif
  36.  
  37. void    rn_init ANSI((void));
  38. void    main ANSI((int,char **));
  39. void    set_ngname ANSI((char *));
  40. char    *getngdir ANSI((char *));
  41.