home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / TELECOM / rn_4_3_blars.lzh / artio.h < prev    next >
Text File  |  1990-08-22  |  1KB  |  37 lines

  1. /* $Header: artio.h,v 4.3.2.2 89/11/27 01:27:53 sob Locked $
  2.  *
  3.  * $Log:    artio.h,v $
  4.  * Revision 4.3.2.2  89/11/27  01:27:53  sob
  5.  * Altered NNTP code per ideas suggested by Bela Lubkin
  6.  * <filbo@gorn.santa-cruz.ca.us>
  7.  * 
  8.  * Revision 4.3.2.1  89/11/26  22:41:24  sob
  9.  * Added RRN support
  10.  * 
  11.  * Revision 4.3  85/05/01  11:35:43  lwall
  12.  * Baseline for release with 4.3bsd.
  13.  * 
  14.  */
  15.  
  16. EXT ART_POS artpos INIT(0);    /* byte position in article file */
  17.  
  18. EXT ART_LINE artline INIT(0);        /* current line number in article file */
  19. EXT FILE *artfp INIT(Nullfp);        /* current article file pointer */
  20. EXT ART_NUM openart INIT(0);        /* what is the currently open article number? */
  21. #ifdef LINKART
  22.     EXT char *linkartname INIT(nullstr);/* real name of article for Eunice */
  23. #endif
  24. #ifdef SERVER
  25. EXT ART_PART openpart INIT(0);    /* how much of that article do we have? */
  26. FILE    *nntpopen();        /* get an article unless already retrieved */
  27.  
  28. void    nntpclose();
  29. /* MUST be in increasing order of completeness! */
  30. #define STAT 1                /* test for existence only */
  31. #define HEAD 2                /* if only header items are desired */
  32. #define ARTICLE 3            /* retreive full article  */
  33. #endif
  34.  
  35. void    artio_init();
  36. FILE    *artopen();        /* open an article unless already opened */
  37.