From ee8bce82b29ca018de2b9609c853f290cbcd7f9d Mon Sep 17 00:00:00 2001 From: larryl Date: Mon, 13 Jul 2009 09:07:05 +0000 Subject: [PATCH] Added curlopt_proxy constant Contributed by Heiko Gering git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@79745 8089f293-4706-0410-a29e-feb5c42a2edf --- curl_opt_constants.e | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/curl_opt_constants.e b/curl_opt_constants.e index 128d75da..b47d8742 100644 --- a/curl_opt_constants.e +++ b/curl_opt_constants.e @@ -276,6 +276,16 @@ feature -- Enumerations. ]" end + curlopt_proxy: INTEGER + -- Declared as CURLOPT_PROXY. + external + "C inline use " + alias + "[ + return CURLOPT_PROXY; + ]" + end + is_valid (a_integer: INTEGER): BOOLEAN -- If `a_integer' value valid? do @@ -303,7 +313,8 @@ feature -- Enumerations. a_integer = curlopt_upload or a_integer = curlopt_put or a_integer = curlopt_readdata or - a_integer = curlopt_infilesize_large + a_integer = curlopt_infilesize_large or + a_integer = curlopt_proxy end note