client/http_curl.h File Reference

(r16139/r16130)

#include <curl/curl.h>
#include "network.h"
#include "proxy_info.h"

Include dependency graph for http_curl.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HTTP_OP
class  HTTP_OP_SET
 represents a set of HTTP requests in progress More...

Defines

#define SOCKS_VERSION_4   0x04
#define SOCKS_VERSION_5   0x05
#define HTTP_OP_NONE   0
#define HTTP_OP_GET   1
#define HTTP_OP_POST   2
#define HTTP_OP_HEAD   4
#define HTTP_OP_POST2   5
#define HTTP_STATE_IDLE   0
#define HTTP_STATE_CONNECTING   1
#define HTTP_STATE_DONE   2

Functions

int curl_init ()
int curl_cleanup ()
size_t libcurl_write (void *ptr, size_t size, size_t nmemb, HTTP_OP *phop)
size_t libcurl_read (void *ptr, size_t size, size_t nmemb, HTTP_OP *phop)
curlioerr libcurl_ioctl (CURL *handle, curliocmd cmd, HTTP_OP *phop)
int libcurl_debugfunction (CURL *handle, curl_infotype type, unsigned char *data, size_t size, HTTP_OP *phop)
void parse_url (const char *url, char *host, int &port, char *file)


Define Documentation

#define HTTP_OP_GET   1

#define HTTP_OP_HEAD   4

#define HTTP_OP_NONE   0

#define HTTP_OP_POST   2

#define HTTP_OP_POST2   5

#define HTTP_STATE_CONNECTING   1

#define HTTP_STATE_DONE   2

#define HTTP_STATE_IDLE   0

#define SOCKS_VERSION_4   0x04

#define SOCKS_VERSION_5   0x05


Function Documentation

int curl_cleanup (  ) 

Here is the caller graph for this function:

int curl_init (  ) 

Here is the caller graph for this function:

int libcurl_debugfunction ( CURL *  handle,
curl_infotype  type,
unsigned char *  data,
size_t  size,
HTTP_OP phop 
)

Here is the call graph for this function:

curlioerr libcurl_ioctl ( CURL *  handle,
curliocmd  cmd,
HTTP_OP phop 
)

size_t libcurl_read ( void *  ptr,
size_t  size,
size_t  nmemb,
HTTP_OP phop 
)

Here is the call graph for this function:

size_t libcurl_write ( void *  ptr,
size_t  size,
size_t  nmemb,
HTTP_OP phop 
)

Here is the call graph for this function:

void parse_url ( const char *  url,
char *  host,
int &  port,
char *  file 
)

Here is the caller graph for this function:


Generated on Mon Oct 6 10:38:57 2008 for BOINC by  doxygen 1.5.6