aboutsummaryrefslogtreecommitdiffstats
path: root/proto.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-27 16:07:44 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-27 16:07:44 +0000
commit44ee521b14c164a2d0886a35b19f6a1a3377ff5c (patch)
tree76499044298687cc70fb8328de16b38ca10fe182 /proto.h
parent[w3m-dev 03607] mymktime: time zone support (diff)
downloadw3m-44ee521b14c164a2d0886a35b19f6a1a3377ff5c.tar.gz
w3m-44ee521b14c164a2d0886a35b19f6a1a3377ff5c.zip
[w3m-dev 03608] news:<newsgroup>
* XMakefile (LSRCS): add news.c (LOBJS): add news.o * file.c (loadSOmething): don't UFclose() for nntp/news (readHeader): remove . at beginning of line for news img link to file: (loadGeneralFile): add SCM_NEWS_GROUP don't UFclose() for nntp/news (loadHTMLstream): . line check for news (loadBuffer): . line check for news * fm.h (NNTP_server): added (NNTP_mode): added (MaxNewsMessage): added * html.h (SCM_NEWS_GROUP): added * main.c (main): NNTP_server or NNTPSERVER NNTP_mode or NNTPMODE add SCM_NEWS_GROUP (followA): remove news:..@.. check (cmd_loadURL): remove news:...@.. check (w3m_exit): disconnectNews * proto.h (openNewsStream): added (readNewsgroup): added (disconnectNews): added * rc.c (CMT_NNTP_SERVER): added (CMT_NNTP_MODE): added (CMT_MAX_NEWS): added (params9): add nntpserver, nntpmode, max_news * url.c (DefaultPort): add 119 for news group (parseURL2): news:..@... is SCM_NEWS_GROUP (_parsedURL2Str): add news for SCM_NEWS_GROUP (openURL): cleanup SCM_NEWS add SCM_NEWS_GROUP * news.c: added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--proto.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 06e8f0d..9b8e80f 100644
--- a/proto.h
+++ b/proto.h
@@ -1,4 +1,4 @@
-/* $Id: proto.h,v 1.74 2002/12/24 17:28:49 ukai Exp $ */
+/* $Id: proto.h,v 1.75 2002/12/27 16:07:44 ukai Exp $ */
/*
* This file was automatically generated by version 1.7 of cextract.
* Manual editing not recommended.
@@ -509,6 +509,11 @@ extern FILE *openFTP(ParsedURL *pu, URLFile *uf);
extern Str readFTPDir(ParsedURL *pu);
extern void closeFTP(FILE * f);
extern int Ftpfclose(FILE * f);
+#ifdef USE_NNTP
+extern InputStream openNewsStream(ParsedURL *pu);
+extern Str readNewsgroup(ParsedURL *pu);
+extern void disconnectNews(void);
+#endif
extern AnchorList *putAnchor(AnchorList *al, char *url, char *target,
Anchor **anchor_return, char *referer,
char *title, unsigned char key, int line,