aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-12 15:06:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-12 15:06:29 +0000
commit8495fac1c58f33c92230f88862557e137b10ee1a (patch)
tree7c07846f6e22d2c0abb7f4782c6afea2f11eca17 /include
parent38c349f75101a1f47c3268e13396b61e3fade8e4 (diff)
Added options for the persistant support, they're also documented in
curl_easy_setopt.3 now
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 212372ffc..4d5e4a0ec 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -398,6 +398,26 @@ typedef enum {
/* This points to a linked list of telnet options */
CINIT(TELNETOPTIONS, OBJECTPOINT, 70),
+ /* Max amount of cached alive connections */
+ CINIT(MAXCONNECTS, LONG, 71),
+
+ /* What policy to use when closing connections when the cache is filled
+ up */
+ CINIT(CLOSEPOLICY, LONG, 72),
+
+ /* Callback to use when CURLCLOSEPOLICY_CALLBACK is set */
+ CINIT(CLOSEFUNCTION, FUNCTIONPOINT, 73),
+
+ /* Set to explicitly use a new connection for the upcoming transfer.
+ Do not use this unless you're absolutely sure of this, as it makes the
+ operation slower and is less friendly for the network. */
+ CINIT(FRESH_CONNECT, LONG, 74),
+
+ /* Set to explicitly forbid the upcoming transfer's connection to be re-used
+ when done. Do not use this unless you're absolutely sure of this, as it
+ makes the operation slower and is less friendly for the network. */
+ CINIT(FORBID_REUSE, LONG, 75),
+
CURLOPT_LASTENTRY /* the last unusued */
} CURLoption;