diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-24 16:59:16 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-24 16:59:16 +0000 |
commit | fbb3e57fab17414fa2fef95754b31c3d130cd61f (patch) | |
tree | 346060a70cb6b2fc8015aacef10b32542ea42669 /fm.h | |
parent | [w3m-dev 02896] fid attr value should be in sequence (diff) | |
download | w3m-fbb3e57fab17414fa2fef95754b31c3d130cd61f.tar.gz w3m-fbb3e57fab17414fa2fef95754b31c3d130cd61f.zip |
[w3m-dev 02901] ACCEPT_BAD_COOKIE_*
* file.c (readHeader): accept_bad_cookie is one of ACCEPT_BAD_COOKIE_*
* fm.h (PERHAPS): deleted
* fm.h (ACCEPT_BAD_COOKIE_*): added
* rc.c (n_s): added
* rc.c (N_S): added
* rc.c (badcookiestr): use N_S(ACCEPT_BAD_COOKIE_*)
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | fm.h | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: fm.h,v 1.41 2002/01/21 15:56:13 ukai Exp $ */ +/* $Id: fm.h,v 1.42 2002/01/24 16:59:16 ukai Exp $ */ /* * w3m: WWW wo Miru utility * @@ -88,10 +88,6 @@ void bzero(void *, int); #define FALSE 0 #define TRUE 1 -#ifdef USE_COOKIE -#define PERHAPS 2 -#endif - #define SHELLBUFFERNAME "*Shellout*" #define PIPEBUFFERNAME "*stream*" #define CPIPEBUFFERNAME "*stream(closed)*" @@ -843,7 +839,10 @@ global int reverse_mouse init(FALSE); global int default_use_cookie init(TRUE); global int use_cookie init(FALSE); global int accept_cookie init(FALSE); -global int accept_bad_cookie init(FALSE); +#define ACCEPT_BAD_COOKIE_DISCARD 0 +#define ACCEPT_BAD_COOKIE_ACCEPT 1 +#define ACCEPT_BAD_COOKIE_ASK 2 +global int accept_bad_cookie init(ACCEPT_BAD_COOKIE_DISCARD); global char *cookie_reject_domains init(NULL); global char *cookie_accept_domains init(NULL); global TextList *Cookie_reject_domains; |