Stephen Kick added CURLOPT_INTERFACE
This commit is contained in:
Родитель
398e3f423f
Коммит
4dba5750d4
|
@ -145,6 +145,8 @@ typedef enum {
|
||||||
|
|
||||||
CURLE_HTTP_POST_ERROR,
|
CURLE_HTTP_POST_ERROR,
|
||||||
|
|
||||||
|
CURLE_HTTP_PORT_FAILED, /* HTTP Interface operation failed */
|
||||||
|
|
||||||
CURLE_SSL_CONNECT_ERROR, /* something was wrong when connecting with SSL */
|
CURLE_SSL_CONNECT_ERROR, /* something was wrong when connecting with SSL */
|
||||||
|
|
||||||
CURLE_FTP_BAD_DOWNLOAD_RESUME, /* couldn't resume download */
|
CURLE_FTP_BAD_DOWNLOAD_RESUME, /* couldn't resume download */
|
||||||
|
@ -384,6 +386,9 @@ typedef enum {
|
||||||
/* tunnel non-http operations through a HTTP proxy */
|
/* tunnel non-http operations through a HTTP proxy */
|
||||||
CINIT(HTTPPROXYTUNNEL, LONG, 61),
|
CINIT(HTTPPROXYTUNNEL, LONG, 61),
|
||||||
|
|
||||||
|
/* Set the interface string to use as outgoing network interface */
|
||||||
|
CINIT(INTERFACE, OBJECTPOINT, 62),
|
||||||
|
|
||||||
CURLOPT_LASTENTRY /* the last unusued */
|
CURLOPT_LASTENTRY /* the last unusued */
|
||||||
} CURLoption;
|
} CURLoption;
|
||||||
|
|
||||||
|
@ -432,8 +437,8 @@ char *curl_getenv(char *variable);
|
||||||
char *curl_version(void);
|
char *curl_version(void);
|
||||||
|
|
||||||
/* This is the version number */
|
/* This is the version number */
|
||||||
#define LIBCURL_VERSION "7.2.1"
|
#define LIBCURL_VERSION "7.3-pre2"
|
||||||
#define LIBCURL_VERSION_NUM 0x070201
|
#define LIBCURL_VERSION_NUM 0x070300
|
||||||
|
|
||||||
/* linked-list structure for the CURLOPT_QUOTE option */
|
/* linked-list structure for the CURLOPT_QUOTE option */
|
||||||
struct curl_slist {
|
struct curl_slist {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче