Commit 4dba5750 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Stephen Kick added CURLOPT_INTERFACE

parent 398e3f42
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -145,6 +145,8 @@ typedef enum {

  CURLE_HTTP_POST_ERROR,

  CURLE_HTTP_PORT_FAILED, /* HTTP Interface operation failed */

  CURLE_SSL_CONNECT_ERROR, /* something was wrong when connecting with SSL */

  CURLE_FTP_BAD_DOWNLOAD_RESUME, /* couldn't resume download */
@@ -384,6 +386,9 @@ typedef enum {
  /* tunnel non-http operations through a HTTP proxy */
  CINIT(HTTPPROXYTUNNEL, LONG, 61),

  /* Set the interface string to use as outgoing network interface */
  CINIT(INTERFACE, OBJECTPOINT, 62),

  CURLOPT_LASTENTRY /* the last unusued */
} CURLoption;

@@ -432,8 +437,8 @@ char *curl_getenv(char *variable);
char *curl_version(void);

/* This is the version number */
#define LIBCURL_VERSION "7.2.1"
#define LIBCURL_VERSION_NUM 0x070201
#define LIBCURL_VERSION "7.3-pre2"
#define LIBCURL_VERSION_NUM 0x070300

/* linked-list structure for the CURLOPT_QUOTE option */
struct curl_slist {