summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-06-17 23:36:29 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-06-17 23:36:29 +0200
commitb46f295900d3461bf8cd5bf91c02c152f5f25fde (patch)
treed20a576506af73b8731318955cdc0fd6d7a5f92b /include
parent0890bb6a51227cdb89fc5fa1434b8498f4110744 (diff)
downloadcurl-b46f295900d3461bf8cd5bf91c02c152f5f25fde.tar.gz
curl.h: moved two really old deprecated symbols
... from the CINIT() enum
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 1ddf68914..37db9187e 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -584,6 +584,11 @@ typedef enum {
#define CURLOPT_INFILE CURLOPT_READDATA /* name changed in 7.9.7 */
#define CURLOPT_WRITEHEADER CURLOPT_HEADERDATA
+/* Since long deprecated options with no code in the lib that does anything
+ with them. */
+#define CURLOPT_WRITEINFO CURLOPT_DEPRECATED40
+#define CURLOPT_CLOSEPOLICY CURLOPT_DEPRECATED72
+
#endif /*!CURL_NO_OLDIES*/
/* This prototype applies to all conversion callbacks */
@@ -966,7 +971,7 @@ typedef enum {
/* send linked-list of post-transfer QUOTE commands */
CINIT(POSTQUOTE, OBJECTPOINT, 39),
- CINIT(WRITEINFO, OBJECTPOINT, 40), /* DEPRECATED, do not use! */
+ CINIT(DEPRECATED40, OBJECTPOINT, 40), /* DEPRECATED, do not use! */
CINIT(VERBOSE, LONG, 41), /* talk a lot */
CINIT(HEADER, LONG, 42), /* throw the header out too */
@@ -1045,7 +1050,7 @@ typedef enum {
/* Max amount of cached alive connections */
CINIT(MAXCONNECTS, LONG, 71),
- CINIT(CLOSEPOLICY, LONG, 72), /* DEPRECATED, do not use! */
+ CINIT(DEPRECATED72, LONG, 72), /* DEPRECATED, do not use! */
/* 73 = OBSOLETE */