Line data Source code
1 : %define hash-function-name http_transfer_encoding_hash 2 : %define lookup-function-name http_transfer_encoding_lookup 3 : %language=C 4 : %compare-lengths 5 : %7bit 6 : %enum 7 : %includes 8 : %ignore-case 9 : %struct-type 10 : %{ 11 : enum http_transfer_encoding_type{ 12 : CHUNKED, 13 : COMPRESS, 14 : DEFLATE, 15 : GZIP 16 : }; 17 : %} 18 : struct http_transfer_encoding { 19 : char *name; 20 : enum http_transfer_encoding_type transfer_encoding_type; 21 : }; 22 : %% 23 : chunked, CHUNKED 24 : compress, COMPRESS 25 : deflate, DEFLATE 26 : gzip, GZIP 27 : %%