We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ff0d34 commit f3eef14Copy full SHA for f3eef14
include/aws/http/private/hpack.h
@@ -15,12 +15,15 @@
15
* If a complete entry has not been decoded yet, type is ONGOING.
16
* Otherwise, type informs which data to look at.
17
*/
18
+
19
+enum aws_hpack_decode_type {
20
+ AWS_HPACK_DECODE_T_ONGOING,
21
+ AWS_HPACK_DECODE_T_HEADER_FIELD,
22
+ AWS_HPACK_DECODE_T_DYNAMIC_TABLE_RESIZE,
23
+};
24
25
struct aws_hpack_decode_result {
- enum aws_hpack_decode_type {
- AWS_HPACK_DECODE_T_ONGOING,
- AWS_HPACK_DECODE_T_HEADER_FIELD,
- AWS_HPACK_DECODE_T_DYNAMIC_TABLE_RESIZE,
- } type;
26
+ enum aws_hpack_decode_type type;
27
28
union {
29
/* If type is AWS_HPACK_DECODE_T_HEADER_FIELD */
0 commit comments