Subversion Repositories Kolibri OS

Rev

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

Rev 5576 Rev 5598
Line 1... Line 1...
1
//HTTP library
1
//HTTP library
-
 
2
#ifndef INCLUDE_LIBHTTP_H
-
 
3
#define INCLUDE_LIBHTTP_H
-
 
4
 
-
 
5
#ifndef INCLUDE_KOLIBRI_H
-
 
6
#include "../lib/kolibri.h"
-
 
7
#endif
-
 
8
 
-
 
9
#ifndef INCLUDE_DLL_H
-
 
10
#include "../lib/dll.h"
-
 
11
#endif
Line 2... Line 12...
2
 
12
 
3
dword libHTTP = #alibHTTP;
13
dword libHTTP = #alibHTTP;
Line 4... Line 14...
4
char alibHTTP[23] = "/sys/lib/http.obj\0";
14
char alibHTTP[23] = "/sys/lib/http.obj\0";
Line 64... Line 74...
64
 
74
 
65
:dword file_get_contents(dword url,...)
75
:dword file_get_contents(dword url,...)
66
{
76
{
67
	http_get(url,FLAG_HTTP11,"");
77
	http_get(url,FLAG_HTTP11,"");
68
}
78
}
-
 
79
 
-
 
80
#endif
69
81