aboutsummaryrefslogtreecommitdiffstats
path: root/html.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 /html.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 'html.h')
-rw-r--r--html.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.h b/html.h
index afd0e9c..5683dcc 100644
--- a/html.h
+++ b/html.h
@@ -1,4 +1,4 @@
-/* $Id: html.h,v 1.15 2002/12/09 15:40:37 ukai Exp $ */
+/* $Id: html.h,v 1.16 2002/12/14 15:18:38 ukai Exp $ */
#ifndef _HTML_H
#define _HTML_H
#ifdef USE_SSL
@@ -73,6 +73,7 @@ typedef struct {
char *ssl_certificate;
#endif
char *url;
+ time_t modtime;
} URLFile;
#define CMP_NOCOMPRESS 0