diff options
Diffstat (limited to 'docs/libcurl/curl_easy_reset.3')
-rw-r--r-- | docs/libcurl/curl_easy_reset.3 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_reset.3 b/docs/libcurl/curl_easy_reset.3 new file mode 100644 index 00000000..d5419117 --- /dev/null +++ b/docs/libcurl/curl_easy_reset.3 @@ -0,0 +1,24 @@ +.\" $Id: curl_easy_reset.3,v 1.4 2009-05-19 12:48:14 yangtse Exp $ +.\" +.TH curl_easy_reset 3 "31 July 2004" "libcurl 7.12.1" "libcurl Manual" +.SH NAME +curl_easy_reset - reset all options of a libcurl session handle +.SH SYNOPSIS +.B #include <curl/curl.h> + +.BI "void curl_easy_reset(CURL *"handle ");" + +.SH DESCRIPTION +Re-initializes all options previously set on a specified CURL handle to the +default values. This puts back the handle to the same state as it was in when +it was just created with \fIcurl_easy_init(3)\fP. + +It does not change the following information kept in the handle: live +connections, the Session ID cache, the DNS cache, the cookies and shares. +.SH AVAILABILITY +This function was added in libcurl 7.12.1 +.SH RETURN VALUE +Nothing +.SH "SEE ALSO" +.BR curl_easy_init "(3)," curl_easy_cleanup "(3)," curl_easy_setopt "(3) + |