Rev 4364 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4364 | Rev 4821 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | } |
14 | } |
Line 15... | Line 15... | ||
15 | 15 | ||
- | 16 | ||
16 | 17 | ||
17 | 18 | struct http_msg { |
|
18 | struct http_msg { |
19 | // internal used by library, dont mess with these. |
19 | unsigned int socket; |
20 | unsigned int socket; |
20 | unsigned int flags; |
21 | unsigned int flags; |
21 | unsigned int write_ptr; |
22 | unsigned int write_ptr; |
- | 23 | unsigned int buffer_length; |
|
- | 24 | unsigned int chunk_ptr; |
|
22 | unsigned int buffer_length; |
25 | unsigned int timestamp; |
23 | unsigned int chunk_ptr; |
26 | |
- | 27 | // available for use. |
|
24 | unsigned int timestamp; |
28 | unsigned int status; |
25 | unsigned int status; |
29 | unsigned int header_length; |
26 | unsigned int header_length; |
30 | char *content_ptr; |
27 | unsigned int content_length; |
31 | unsigned int content_length; |
Line 28... | Line 32... | ||
28 | unsigned int content_received; |
32 | unsigned int content_received; |
- | 33 | char header; //unknown size (actually, it's size is defined in header_length) |
|
29 | char data; //unknown size |
34 | }; |
30 | }; |
35 | |
31 | 36 | ||
Line 32... | Line 37... | ||
32 | 37 | int (* __stdcall http_init)(); |