[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>
This commit is contained in:
16
textlist.c
16
textlist.c
@@ -1,4 +1,4 @@
|
||||
/* $Id: textlist.c,v 1.4 2001/11/24 02:01:26 ukai Exp $ */
|
||||
/* $Id: textlist.c,v 1.5 2002/09/24 16:35:02 ukai Exp $ */
|
||||
#include "textlist.h"
|
||||
#include "indep.h"
|
||||
#include "Str.h"
|
||||
@@ -79,6 +79,20 @@ rpopValue(GeneralList *tl)
|
||||
return f->ptr;
|
||||
}
|
||||
|
||||
void
|
||||
delValue(GeneralList *tl, ListItem *it)
|
||||
{
|
||||
if (it->prev)
|
||||
it->prev->next = it->next;
|
||||
else
|
||||
tl->first = it->next;
|
||||
if (it->next)
|
||||
it->next->prev = it->prev;
|
||||
else
|
||||
tl->last = it->prev;
|
||||
tl->nitem--;
|
||||
}
|
||||
|
||||
GeneralList *
|
||||
appendGeneralList(GeneralList *tl, GeneralList *tl2)
|
||||
{
|
||||
|
Reference in New Issue
Block a user