aboutsummaryrefslogtreecommitdiffstats
path: root/proto.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-14 15:18:37 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-14 15:18:37 +0000
commit26a8e37fdcab433c8e623b29fb35c0907b2a05de (patch)
tree9228e612a67095337200051b47b0f14c99485ac8 /proto.h
parent[w3m-dev 03567] default keybinding (diff)
downloadw3m-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto.h b/proto.h
index 94c9b0e..eca5dc7 100644
--- a/proto.h
+++ b/proto.h
@@ -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,