Skip to content

Commit f3eef14

Browse files
authored
Add cxx support (#490)
1 parent 9ff0d34 commit f3eef14

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

include/aws/http/private/hpack.h

+8-5
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,15 @@
1515
* If a complete entry has not been decoded yet, type is ONGOING.
1616
* Otherwise, type informs which data to look at.
1717
*/
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+
1825
struct aws_hpack_decode_result {
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-
} type;
26+
enum aws_hpack_decode_type type;
2427

2528
union {
2629
/* If type is AWS_HPACK_DECODE_T_HEADER_FIELD */

0 commit comments

Comments
 (0)