Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5534 → Rev 5535

/contrib/network/netsurf/netsurf/content/fetchers/curl.c
682,7 → 682,7
if(fetch->post_urlenc)
{
LOG(("http_post on %s with headers: %s", zz, fetch->post_urlenc));
wererat = http_post(zz, NULL, "application/x-www-form-urlencoded", strlen(fetch->post_urlenc));
wererat = http_post(zz, NULL, NULL, NULL, "application/x-www-form-urlencoded", strlen(fetch->post_urlenc));
 
if(wererat == 0)
{
699,7 → 699,7
else /* GET Request */
{
LOG(("http_get on URL : %s", zz));
wererat = http_get(zz, NULL); /* Initiates the GET on the handle we want to initiate for */
wererat = http_get(zz, NULL, NULL, NULL); /* Initiates the GET on the handle we want to initiate for */
if(wererat == 0) /* http_get failed. Something wrong. Can't do anything here */
{
/contrib/network/netsurf/netsurf/content/fetchers/http.c
13,12 → 13,12
 
int (* __stdcall http_init)(void);
// On the next line, we should tell the C compiler that this procedure actually returns a pointer. (to the http_msg struct)
unsigned int (* __stdcall http_get) (char * url, char * add_head); //yay, it's NOT uint, but hey, C is stubborn, and I'm dumb
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
int (* __stdcall http_receive) (unsigned int identifier);
void (* __stdcall http_free) (unsigned int identifier);
char * (* __stdcall http_find_header_field) (struct http_msg *http_ahoy, char *field_name); //This is crazzzzzzyyyyyy
char * (* __stdcall http_find_header_field) (struct http_msg *http_ahoy, char *field_name);
char * (* __stdcall http_unescape_url) (char * url_asciiz);
char * (* __stdcall http_post) (char *url, char *headers, char *content_type, int content_length);
char * (* __stdcall http_post) (char *url, unsigned int identifier, unsigned int flags, char *headers, char *content_type, int content_length);
int (* __stdcall http_send) (struct http_msg *handle, char *data, unsigned int length);
void (* __stdcall http_disconnect) (struct http_msg *handle);