Subversion Repositories Kolibri OS

Rev

Rev 5043 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5043 Rev 5535
Line 11... Line 11...
11
extern int mem_Alloc();
11
extern int mem_Alloc();
12
extern int mem_ReAlloc();
12
extern int mem_ReAlloc();
Line 13... Line 13...
13
 
13
 
14
int (* __stdcall http_init)(void);
14
int (* __stdcall http_init)(void);
15
// On the next line, we should tell the C compiler that this procedure actually returns a pointer. (to the http_msg struct)
15
// On the next line, we should tell the C compiler that this procedure actually returns a pointer. (to the http_msg struct)
16
unsigned int (* __stdcall http_get) (char * url, char * add_head); //yay, it's NOT uint, but hey, C is stubborn, and I'm dumb
16
unsigned int (* __stdcall http_get) (char * url, unsigned int identifier, unsigned int flags, char * add_head); //yay, it's NOT uint, but hey, C is stubborn, and I'm dumb
17
int (* __stdcall http_receive) (unsigned int identifier);
17
int (* __stdcall http_receive) (unsigned int identifier);
18
void (* __stdcall http_free) (unsigned int identifier);
18
void (* __stdcall http_free) (unsigned int identifier);
19
char * (* __stdcall http_find_header_field) (struct http_msg *http_ahoy, char *field_name); //This is crazzzzzzyyyyyy
19
char * (* __stdcall http_find_header_field) (struct http_msg *http_ahoy, char *field_name); 
20
char * (* __stdcall http_unescape_url) (char * url_asciiz);
20
char * (* __stdcall http_unescape_url) (char * url_asciiz);
21
char * (* __stdcall http_post) (char *url, char *headers, char *content_type, int content_length);
21
char * (* __stdcall http_post) (char *url, unsigned int identifier, unsigned int flags, char *headers, char *content_type, int content_length);
22
int (* __stdcall http_send) (struct http_msg *handle, char *data, unsigned int length);
22
int (* __stdcall http_send) (struct http_msg *handle, char *data, unsigned int length);
Line 23... Line 23...
23
void (* __stdcall http_disconnect) (struct http_msg *handle);
23
void (* __stdcall http_disconnect) (struct http_msg *handle);
24
 
24