diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-08-09 10:46:02 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-08-09 10:46:02 +0200 |
commit | f8831d55e0a6f9c2cb21c4e37b30fd62af9f5b20 (patch) | |
tree | 7157c7e2d0faad9bce39b40d9f261104faec7e87 | |
parent | 43d2c66454d798bcf43202f71202cc1495e45e25 (diff) |
curl.h: mark deprecated CURLOPT_ options on same line
This is to aid easier machine parsing and to make sure nobody who reads
these header lines can miss the info.
-rw-r--r-- | include/curl/curl.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index c31918728..2de5bfb05 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -919,9 +919,7 @@ typedef enum { /* send linked-list of post-transfer QUOTE commands */ CINIT(POSTQUOTE, OBJECTPOINT, 39), - /* Pass a pointer to string of the output using full variable-replacement - as described elsewhere. */ - CINIT(WRITEINFO, OBJECTPOINT, 40), + CINIT(WRITEINFO, OBJECTPOINT, 40), /* DEPRECATED, do not use! */ CINIT(VERBOSE, LONG, 41), /* talk a lot */ CINIT(HEADER, LONG, 42), /* throw the header out too */ @@ -997,8 +995,7 @@ typedef enum { /* Max amount of cached alive connections */ CINIT(MAXCONNECTS, LONG, 71), - /* 72 - DEPRECATED */ - CINIT(CLOSEPOLICY, LONG, 72), + CINIT(CLOSEPOLICY, LONG, 72), /* DEPRECATED, do not use! */ /* 73 = OBSOLETE */ @@ -1072,7 +1069,7 @@ typedef enum { CINIT(SSLENGINE_DEFAULT, LONG, 90), /* Non-zero value means to use the global dns cache */ - CINIT(DNS_USE_GLOBAL_CACHE, LONG, 91), /* To become OBSOLETE soon */ + CINIT(DNS_USE_GLOBAL_CACHE, LONG, 91), /* DEPRECATED, do not use! */ /* DNS cache timeout */ CINIT(DNS_CACHE_TIMEOUT, LONG, 92), |