From 3042cb50439d553f39450876b9e5af4bece67583 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 13 Sep 2015 16:07:05 +0200 Subject: http2: added three stream prio/deps options CURLOPT_STREAM_DEPENDS CURLOPT_STREAM_DEPENDS_E CURLOPT_STREAM_PRIORITY --- include/curl/curl.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') 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; -- cgit v1.2.3