home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of Windows 95.com 1996 September
/
WIN95_09964.iso
/
unix
/
SOUPER95.ZIP
/
source
/
nntpcl.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-03-11
|
583b
|
19 lines
/* $Id: nntpcl.h 1.3 1995/06/25 16:39:57 cthuang Exp $
*
* NNTP client declarations
*/
typedef long ArticleNumber;
extern char *nntpServer;
int nntpConnect(void);
int nntpGroup(int socket, const char *name,
ArticleNumber *pLo, ArticleNumber *pHi);
int nntpXover(int socket, ArticleNumber lo, ArticleNumber hi);
int nntpNext(int socket, ArticleNumber *pArtNum);
int nntpArticle(int socket, const char *cmd, ArticleNumber artNum, FILE *outf);
int nntpDate(int socket, char *dest);
void nntpClose(int socket);
int nntpPost(int socket, FILE *inf, size_t bytes);