diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-12-14 15:18:37 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-12-14 15:18:37 +0000 |
commit | 26a8e37fdcab433c8e623b29fb35c0907b2a05de (patch) | |
tree | 9228e612a67095337200051b47b0f14c99485ac8 /proto.h | |
parent | [w3m-dev 03567] default keybinding (diff) | |
download | w3m-26a8e37fdcab433c8e623b29fb35c0907b2a05de.tar.gz w3m-26a8e37fdcab433c8e623b29fb35c0907b2a05de.zip |
[w3m-dev 03568] Re: preserve timestamp
* etc.c (USE_COOKIE): moved
* file.c (utime.h): include
(setModtime): added
(loadGeneralFile): set f.modtime
(_doFileCopy): setModtime()
(doFileSave): setModtime()
* ftp.c (getFtpModtime): added
(openFTP): pass URLFile, set modtime
* html.h (URLFile): add modtime
* proto.h (openFTP): arg URLFile *uf
(mymktime): always
* url.c (init_stream): initialize modtime
(openFTPStream): pass URLFile
(openURL): openFTPStream
From: Takahashi Youichirou <nikuq@hk.airnet.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | proto.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.71 2002/12/13 02:19:01 ukai Exp $ */ +/* $Id: proto.h,v 1.72 2002/12/14 15:18:38 ukai Exp $ */ /* * This file was automatically generated by version 1.7 of cextract. * Manual editing not recommended. @@ -504,7 +504,7 @@ extern Str unquote_mailcap(char *qstr, char *type, char *name, char *attr, extern char *guessContentType(char *filename); extern TextList *make_domain_list(char *domain_list); extern int check_no_proxy(char *domain); -extern FILE *openFTP(ParsedURL *pu); +extern FILE *openFTP(ParsedURL *pu, URLFile *uf); extern Str readFTPDir(ParsedURL *pu); extern void closeFTP(FILE * f); extern int Ftpfclose(FILE * f); @@ -588,8 +588,8 @@ extern Str myEditor(char *cmd, char *file, int line); extern char *file_to_url(char *file); extern char *expandName(char *name); extern Str tmpfname(int type, char *ext); -#ifdef USE_COOKIE extern time_t mymktime(char *timestr); +#ifdef USE_COOKIE extern char *FQDN(char *host); extern Str find_cookie(ParsedURL *pu); extern int add_cookie(ParsedURL *pu, Str name, Str value, time_t expires, |