diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-11-20 19:11:22 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-11-20 19:11:22 +0000 |
commit | 8bca5e05b8e96bbfaaef9cc8dcecc33ce7ef6a15 (patch) | |
tree | fe24e8525de7d67e07efcef122d3842e68e1e111 /include | |
parent | f68505ee23d37afa31d908e146beab33935b7eed (diff) |
Kjetil Jacobsen's patch that introduces CURLOPT_PRIVATE and CURLINFO_PRIVATE
for storage and retrieval of private data in the curl handle.
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 94c2cd048..bf7b4852d 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -610,6 +610,8 @@ typedef enum { the response to be compressed. */ CINIT(ENCODING, OBJECTPOINT, 102), + /* Set pointer to private data */ + CINIT(PRIVATE, OBJECTPOINT, 103), CURLOPT_LASTENTRY /* the last unused */ } CURLoption; @@ -861,9 +863,11 @@ typedef enum { CURLINFO_REDIRECT_TIME = CURLINFO_DOUBLE + 19, CURLINFO_REDIRECT_COUNT = CURLINFO_LONG + 20, + CURLINFO_PRIVATE = CURLINFO_STRING + 21, + /* Fill in new entries here! */ - CURLINFO_LASTONE = 21 + CURLINFO_LASTONE = 22 } CURLINFO; /* unfortunately, the easy.h and multi.h include files need options and info |