diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-09-13 16:07:05 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-10-23 08:22:38 +0200 |
commit | 3042cb50439d553f39450876b9e5af4bece67583 (patch) | |
tree | 201cb6ae0fa756d1d7033c27d4fc5b8215236e17 /include | |
parent | 23cc0c00d4cd74e23cd9efcaddfe317a82a31862 (diff) | |
download | curl-3042cb50439d553f39450876b9e5af4bece67583.tar.gz |
http2: added three stream prio/deps options
CURLOPT_STREAM_DEPENDS
CURLOPT_STREAM_DEPENDS_E
CURLOPT_STREAM_PRIORITY
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index 2d482750d..5ea3d4ce9 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -1648,6 +1648,15 @@ typedef enum { /* Set the protocol used when curl is given a URL without a protocol */ CINIT(DEFAULT_PROTOCOL, OBJECTPOINT, 238), + /* Set stream priority, 1 - 256 */ + CINIT(STREAM_PRIORITY, LONG, 239), + + /* Set stream dependency on another CURL handle */ + CINIT(STREAM_DEPENDS, OBJECTPOINT, 240), + + /* Set E-xclusive stream dependency on another CURL handle */ + CINIT(STREAM_DEPENDS_E, OBJECTPOINT, 241), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; |