mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
picoev: make compile, add header parsing
This commit is contained in:
parent
d62d0c40d2
commit
442030a7c8
6 changed files with 41 additions and 17 deletions
|
@ -39,12 +39,12 @@ extern "C" {
|
|||
|
||||
/* contains name and value of a header (name == NULL if is a continuing line
|
||||
* of a multiline header */
|
||||
struct phr_header {
|
||||
typedef struct phr_header {
|
||||
const char *name;
|
||||
size_t name_len;
|
||||
const char *value;
|
||||
size_t value_len;
|
||||
};
|
||||
}phr_header;
|
||||
|
||||
/* returns number of bytes consumed if successful, -2 if request is partial,
|
||||
* -1 if failed */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue