summaryrefslogtreecommitdiff
path: root/lib/transfer.h
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-01-29 22:12:33 -0500
committerKamil Dudka <kdudka@redhat.com>2011-01-31 14:29:48 +0100
commit99dcb11ed8bd78d3af47c6ce3cc6b1fa4c51fdf8 (patch)
treeec75b822599f59963eda4c01c47a3564dade4ac3 /lib/transfer.h
parent819dfddc58e22ea2248851bcd1b4605a0de2a9e4 (diff)
downloadcurl-99dcb11ed8bd78d3af47c6ce3cc6b1fa4c51fdf8.tar.gz
transfer: add Curl_meets_timecondition()
This will be used by file_do() and Curl_readwrite() as a unified method of checking to see if a remote document meets the supplied CURLOPT_TIMEVAL and CURLOPT_TIMECONDITION. Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'lib/transfer.h')
-rw-r--r--lib/transfer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/transfer.h b/lib/transfer.h
index 790e1e3ef..c966cafb0 100644
--- a/lib/transfer.h
+++ b/lib/transfer.h
@@ -47,6 +47,7 @@ CURLcode Curl_readrewind(struct connectdata *conn);
CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp);
CURLcode Curl_reconnect_request(struct connectdata **connp);
CURLcode Curl_retry_request(struct connectdata *conn, char **url);
+bool Curl_meets_timecondition(struct SessionHandle *data, long timeofdoc);
/* This sets up a forthcoming transfer */
void