diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-06 15:36:56 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-01-06 15:36:56 +0000 |
commit | ff20968c8c0cbafa349495c791f700775d0e23af (patch) | |
tree | b3610ae72e8d9e30344a0d29bb0cfb0cc8c78611 /html.h | |
parent | fix build errors (diff) | |
download | w3m-ff20968c8c0cbafa349495c791f700775d0e23af.tar.gz w3m-ff20968c8c0cbafa349495c791f700775d0e23af.zip |
[w3m-dev 03610] Re: news:<newsgroup>
* anchor.c (_put_anchor_news): check '<'
(reAnchorNewsheader): added
* file.c (loadSomething): Subject: as buffername
(checkHeader): check buf->document_header
(loadGeneralFile): reAnchorNewsheader
* html.h (SCM_NNTP_GROUP): added
* main.c (main): delete USE_NNTP in switch (newbuf->real_scheme)
(chkNMIDBuffer): lowercase in url_like_pat
* news.c (add_news_message): add scheme, group as arg
(openNewsStream): check SCM_NNTP_GROUP
check current_news.host
(readNewsgroup): rewrite to support nntp:,news: extension
* proto.h (reAnchorNewsheader): added
* url.c (DefaultPort): add 119 for nntp group
(parseURL2): rewrite to support nntp:,news: extension
(_parsedURL2Str): add for SCM_NNTP_GROUP
(openURL): rewrite to support nntp:,news: extension
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'html.h')
-rw-r--r-- | html.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.17 2002/12/27 16:07:44 ukai Exp $ */ +/* $Id: html.h,v 1.18 2003/01/06 15:36:59 ukai Exp $ */ #ifndef _HTML_H #define _HTML_H #ifdef USE_SSL @@ -361,11 +361,12 @@ struct environment { #define SCM_LOCAL_CGI 5 #define SCM_EXEC 6 #define SCM_NNTP 7 -#define SCM_NEWS 8 -#define SCM_NEWS_GROUP 9 -#define SCM_MAILTO 10 +#define SCM_NNTP_GROUP 8 +#define SCM_NEWS 9 +#define SCM_NEWS_GROUP 10 +#define SCM_MAILTO 11 #ifdef USE_SSL -#define SCM_HTTPS 11 +#define SCM_HTTPS 12 #endif /* USE_SSL */ #endif /* _HTML_H */ |