]> granicus.if.org Git - curl/commitdiff
Stephen Kick added CURLOPT_INTERFACE
authorDaniel Stenberg <daniel@haxx.se>
Mon, 18 Sep 2000 21:53:21 +0000 (21:53 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 18 Sep 2000 21:53:21 +0000 (21:53 +0000)
include/curl/curl.h

index 9948dc04f33103dcc9c7c6730d5a2ce5fd185aef..85baac630250ae3f7635ca0f8e8a903c0deb6480 100644 (file)
@@ -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 {