Skip to content

Commit

Permalink
Add cxx support (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
subdiox authored Nov 7, 2024
1 parent 9ff0d34 commit f3eef14
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions include/aws/http/private/hpack.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@
* If a complete entry has not been decoded yet, type is ONGOING.
* Otherwise, type informs which data to look at.
*/

enum aws_hpack_decode_type {
AWS_HPACK_DECODE_T_ONGOING,
AWS_HPACK_DECODE_T_HEADER_FIELD,
AWS_HPACK_DECODE_T_DYNAMIC_TABLE_RESIZE,
};

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;
enum aws_hpack_decode_type type;

union {
/* If type is AWS_HPACK_DECODE_T_HEADER_FIELD */
Expand Down

0 comments on commit f3eef14

Please sign in to comment.