diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-09-09 15:11:14 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-09-09 15:11:14 +0200 |
commit | 664249d095275ec532f55dd1752d80c8c1093a77 (patch) | |
tree | f8e3add4b66fb64271d22178743f3dc2f1758dcd /lib/easyoptions.c | |
parent | 60a3b25dbf1f211f6ba5216f2d774cfb26cb3e29 (diff) | |
download | curl-664249d095275ec532f55dd1752d80c8c1093a77.tar.gz |
ws: initial websockets support
Closes #8995
Diffstat (limited to 'lib/easyoptions.c')
-rw-r--r-- | lib/easyoptions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/easyoptions.c b/lib/easyoptions.c index 412aefd99..e59b63af7 100644 --- a/lib/easyoptions.c +++ b/lib/easyoptions.c @@ -354,6 +354,7 @@ struct curl_easyoption Curl_easyopts[] = { {"WRITEDATA", CURLOPT_WRITEDATA, CURLOT_CBPTR, 0}, {"WRITEFUNCTION", CURLOPT_WRITEFUNCTION, CURLOT_FUNCTION, 0}, {"WRITEHEADER", CURLOPT_HEADERDATA, CURLOT_CBPTR, CURLOT_FLAG_ALIAS}, + {"WS_OPTIONS", CURLOPT_WS_OPTIONS, CURLOT_LONG, 0}, {"XFERINFODATA", CURLOPT_XFERINFODATA, CURLOT_CBPTR, 0}, {"XFERINFOFUNCTION", CURLOPT_XFERINFOFUNCTION, CURLOT_FUNCTION, 0}, {"XOAUTH2_BEARER", CURLOPT_XOAUTH2_BEARER, CURLOT_STRING, 0}, @@ -367,6 +368,6 @@ struct curl_easyoption Curl_easyopts[] = { */ int Curl_easyopts_check(void) { - return ((CURLOPT_LASTENTRY%10000) != (319 + 1)); + return ((CURLOPT_LASTENTRY%10000) != (320 + 1)); } #endif |