summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-22 14:57:58 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-22 14:57:58 +0000
commitb7a5fb1794ecac50c5cf1a5bec60391752748c15 (patch)
treeb36b3834397e962ff6f217d4217eb28a0980dce0
parent6f4f3c79b62e60c7f45a62bae01951e07e7d1054 (diff)
downloadgnurl-b7a5fb1794ecac50c5cf1a5bec60391752748c15.tar.gz
gnurl-b7a5fb1794ecac50c5cf1a5bec60391752748c15.tar.bz2
gnurl-b7a5fb1794ecac50c5cf1a5bec60391752748c15.zip
added the new FILETIME stuff
-rw-r--r--docs/curl_easy_getinfo.38
-rw-r--r--docs/curl_easy_setopt.39
2 files changed, 15 insertions, 2 deletions
diff --git a/docs/curl_easy_getinfo.3 b/docs/curl_easy_getinfo.3
index 95d2a5564..f1a62a278 100644
--- a/docs/curl_easy_getinfo.3
+++ b/docs/curl_easy_getinfo.3
@@ -2,7 +2,7 @@
.\" nroff -man [file]
.\" Written by daniel@haxx.se
.\"
-.TH curl_easy_init 3 "30 October 2000" "Curl 7.4.2" "libcurl Manual"
+.TH curl_easy_init 3 "22 November 2000" "Curl 7.5" "libcurl Manual"
.SH NAME
curl_easy_getinfo - Extract information from a curl session (added in 7.4)
.SH SYNOPSIS
@@ -28,6 +28,12 @@ Pass a pointer to a 'char *' to receive the last used effective URL.
.B CURLINFO_HTTP_CODE
Pass a pointer to a long to receive the last received HTTP code.
.TP
+.B CURLINFO_FILETIME
+Pass a pointer to a long to receive the remote time of the retrieved
+document. If you get 0, it can be because of many reasons (unknown, the server
+hides it or the server doesn't support the command that tells document time
+etc) and the time of the document is unknown. (Added in 7.5)
+.TP
.B CURLINFO_TOTAL_TIME
Pass a pointer to a double to receive the total transaction time in seconds
for the previous transfer.
diff --git a/docs/curl_easy_setopt.3 b/docs/curl_easy_setopt.3
index cd860f000..99f264673 100644
--- a/docs/curl_easy_setopt.3
+++ b/docs/curl_easy_setopt.3
@@ -2,7 +2,7 @@
.\" nroff -man [file]
.\" Written by daniel@haxx.se
.\"
-.TH curl_easy_setopt 3 "30 October 2000" "Curl 7.4.2" "libcurl Manual"
+.TH curl_easy_setopt 3 "22 November 2000" "Curl 7.5" "libcurl Manual"
.SH NAME
curl_easy_setopt - Set curl easy-session options
.SH SYNOPSIS
@@ -385,6 +385,13 @@ is the maximum number of bytes that may be written in the buffer.
Pass a void * to whatever data you want. The passed pointer will be the first
argument sent to the specifed CURLOPT_PASSWDFUNCTION function. (Added in
7.4.2)
+.TP
+.B CURLOPT_FILETIME
+Pass a long. If it is a non-zero value, libcurl will attempt to get the
+modification date of the remote document in this operation. This requires that
+the remote server sends the time or replies to a time querying command. The
+curl_easy_getinfo() function with the CURLINFO_FILETIME argument can be used
+after a transfer to extract the received time (if any). (Added in 7.5)
.PP
.SH RETURN VALUE
0 means the option was set properly, non-zero means an error as