home *** CD-ROM | disk | FTP | other *** search
- /* $Header: artio.h,v 4.3.3.2 91/01/16 02:20:49 davison Trn $
- *
- * $Log: artio.h,v $
- * Revision 4.3.3.2 91/01/16 02:20:49 davison
- * Added optional prototyping.
- *
- * Revision 4.3.3.1 90/07/21 20:12:10 davison
- * Initial Trn Release
- *
- * Revision 4.3.2.2 89/11/27 01:27:53 sob
- * Altered NNTP code per ideas suggested by Bela Lubkin
- * <filbo@gorn.santa-cruz.ca.us>
- *
- * Revision 4.3.2.1 89/11/26 22:41:24 sob
- * Added RRN support
- *
- * Revision 4.3 85/05/01 11:35:43 lwall
- * Baseline for release with 4.3bsd.
- *
- */
-
- EXT ART_POS artpos INIT(0); /* byte position in article file */
-
- EXT ART_LINE artline INIT(0); /* current line number in article file */
- EXT FILE *artfp INIT(Nullfp); /* current article file pointer */
- EXT ART_NUM openart INIT(0); /* what is the currently open article number? */
- #ifdef LINKART
- EXT char *linkartname INIT(nullstr);/* real name of article for Eunice */
- #endif
- #ifdef SERVER
- EXT ART_PART openpart INIT(0); /* how much of that article do we have? */
- FILE *nntpopen ANSI((ART_NUM,ART_PART));
- /* get an article unless already retrieved */
- void nntpclose ANSI((void));
- /* MUST be in increasing order of completeness! */
- #define GET_STATUS 1 /* test for existence only */
- #define GET_HEADER 2 /* if only header items are desired */
- #define GET_ARTICLE 3 /* retreive full article */
- #endif
-
- void artio_init ANSI((void));
- FILE *artopen ANSI((ART_NUM)); /* open an article unless already opened */
-