Rev 9439 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9439 | Rev 9699 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | 3 | ||
4 | #ifndef INCLUDE_KOLIBRI_H |
4 | #ifndef INCLUDE_KOLIBRI_H |
5 | #include "../lib/kolibri.h" |
5 | #include "../lib/kolibri.h" |
Line -... | Line 6... | ||
- | 6 | #endif |
|
- | 7 | ||
- | 8 | #ifdef __COFF__ |
|
- | 9 | extern dword http_get; |
|
- | 10 | extern dword http_head; |
|
- | 11 | extern dword http_post; |
|
- | 12 | extern dword http_find_header_field; |
|
- | 13 | extern dword http_send; |
|
- | 14 | extern dword http_receive; |
|
- | 15 | extern dword http_disconnect; |
|
- | 16 | extern dword http_free; |
|
- | 17 | extern dword http_escape; |
|
6 | #endif |
18 | extern dword http_unescape; |
7 | 19 | #else |
|
8 | #ifndef INCLUDE_DLL_H |
20 | #ifndef INCLUDE_DLL_H |
Line 9... | Line 21... | ||
9 | #include "../lib/dll.h" |
21 | #include "../lib/dll.h" |
Line 34... | Line 46... | ||
34 | char aHTTPreceive[] = "receive"; |
46 | char aHTTPreceive[] = "receive"; |
35 | char aHTTPdisconnect[] = "disconnect"; |
47 | char aHTTPdisconnect[] = "disconnect"; |
36 | char aHTTPfree[] = "free"; |
48 | char aHTTPfree[] = "free"; |
37 | char aURIescape[] = "escape"; |
49 | char aURIescape[] = "escape"; |
38 | char aURIunescape[] = "unescape"; |
50 | char aURIunescape[] = "unescape"; |
- | 51 | #endif |
|
Line 39... | Line 52... | ||
39 | 52 | ||
40 | // status flags |
53 | // status flags |
41 | #define FLAG_HTTP11 1 << 0 |
54 | #define FLAG_HTTP11 1 << 0 |
42 | #define FLAG_GOT_HEADER 1 << 1 |
55 | #define FLAG_GOT_HEADER 1 << 1 |