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


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 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 |
| int curl_cleanup | ( | ) |

| int curl_init | ( | ) |

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

| 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 | |||
| ) |

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

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

1.5.6