James Kuszmaul | 82f6c04 | 2021-01-17 11:30:16 -0800 | [diff] [blame^] | 1 | /** |
2 | * @file http.h HTTP Private Interface | ||||
3 | * | ||||
4 | * Copyright (C) 2010 Creytiv.com | ||||
5 | */ | ||||
6 | |||||
7 | |||||
8 | struct http_chunk { | ||||
9 | size_t size; | ||||
10 | unsigned lf; | ||||
11 | bool trailer; | ||||
12 | bool digit; | ||||
13 | bool param; | ||||
14 | }; | ||||
15 | |||||
16 | |||||
17 | int http_chunk_decode(struct http_chunk *chunk, struct mbuf *mb, size_t *size); |