summaryrefslogtreecommitdiffstats
path: root/lib/libftp/ftplib.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-05 00:52:26 +0100
committerAurelien Foret <aurelien@archlinux.org>2006-01-05 00:52:26 +0100
commit9d55476c9c5f94876de2a0c338e1f550e24fe977 (patch)
tree8f56391107aa90d3a7f330d49a6234beddf5c074 /lib/libftp/ftplib.h
parent2adc46df260b92d755756145d694a51eaff66346 (diff)
downloadpacman-9d55476c9c5f94876de2a0c338e1f550e24fe977.tar.gz
pacman-9d55476c9c5f94876de2a0c338e1f550e24fe977.tar.xz
added .lastudate support for HTTP protocol
known limitation: do not work when connected to some web servers (lighttpd)
Diffstat (limited to 'lib/libftp/ftplib.h')
-rw-r--r--lib/libftp/ftplib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libftp/ftplib.h b/lib/libftp/ftplib.h
index 49e0ccbf..4c2d95dd 100644
--- a/lib/libftp/ftplib.h
+++ b/lib/libftp/ftplib.h
@@ -121,7 +121,8 @@ GLOBALREF void FtpQuit(netbuf *nControl);
GLOBALREF int HttpConnect(const char *host, unsigned short port, netbuf **nControl);
GLOBALREF int HttpGet(const char *host, const char *output, const char *path,
- int *size, netbuf *nControl, unsigned int offset);
+ int *size, netbuf *nControl, unsigned int offset,
+ const struct tm *mtime1, struct tm *mtime2);
GLOBALREF void HttpQuit(netbuf *nControl);
#ifdef __cplusplus