diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-09-24 16:35:02 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-09-24 16:35:02 +0000 |
commit | f5c8b4df7572f4884ba912ff129cb3e656d474e9 (patch) | |
tree | 802563b9bd1e6a5658a62a7ffc7c1f57cafd25be /textlist.h | |
parent | [w3m-dev 03311] Re: Passwords (diff) | |
download | w3m-f5c8b4df7572f4884ba912ff129cb3e656d474e9.tar.gz w3m-f5c8b4df7572f4884ba912ff129cb3e656d474e9.zip |
[w3m-dev 03318] Re: Passwords
* etc.c (struct auth_path): added
(passwords): added
(dir_under): added
(add_auth_pass_entry): added
(find_auth_pass_entry): added
(find_auth_user_passwd): added
(loadPasswd): added
(find_auth): dir_under()
(add_auth_cookie): check file
* file.c (find_auth_user_passwd): removed
(getAuthCookie): use delText()
check proxy
(get_auth_cookie): removed
(loadGeneralFile): auth_pu
* proto.h (schemeToProxy): added
(get_auth_cookie): removed
(loadPasswd): added
(find_auth_user_passwd): added
* rc.c (sync_with_option): loadPasswd()
* textlist.c (delValue): added
* textlist.h (delValue): added
(delText): added
* url.c (HTTPrequest): seen_www_auth
(schemeToProxy): added
From: AIDA Shinra <aida-s@jcom.home.ne.jp>
Diffstat (limited to 'textlist.h')
-rw-r--r-- | textlist.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: textlist.h,v 1.4 2001/12/02 16:26:08 ukai Exp $ */ +/* $Id: textlist.h,v 1.5 2002/09/24 16:35:02 ukai Exp $ */ #ifndef TEXTLIST_H #define TEXTLIST_H #include "Str.h" @@ -22,6 +22,7 @@ extern GeneralList *newGeneralList(void); extern void pushValue(GeneralList *tl, void *s); extern void *popValue(GeneralList *tl); extern void *rpopValue(GeneralList *tl); +extern void delValue(GeneralList *tl, ListItem *it); extern GeneralList *appendGeneralList(GeneralList *, GeneralList *); /* Text list */ @@ -42,6 +43,7 @@ typedef struct _textlist { #define pushText(tl, s) pushValue((GeneralList *)(tl), (void *)allocStr((s)?(s):"",-1)) #define popText(tl) ((char *)popValue((GeneralList *)(tl))) #define rpopText(tl) ((char *)rpopValue((GeneralList *)(tl))) +#define delText(tl, i) delValue((GeneralList *)(tl), (void *)(i)) #define appendTextList(tl, tl2) ((TextList *)appendGeneralList((GeneralList *)(tl), (GeneralList *)(tl2))) /* Line text list */ |