From 3b231019ea6e528785f7fadd697e6120200e6525 Mon Sep 17 00:00:00 2001 From: jfiat Date: Mon, 14 Jan 2008 11:50:55 +0000 Subject: [PATCH] Added {CURL_OPT_CONSTANTS}.curlopt_followlocation git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@71900 8089f293-4706-0410-a29e-feb5c42a2edf --- curl_opt_constants.e | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/curl_opt_constants.e b/curl_opt_constants.e index f31c55a8..9958c24a 100644 --- a/curl_opt_constants.e +++ b/curl_opt_constants.e @@ -54,6 +54,16 @@ feature -- Enumerations. ]" end + curlopt_followlocation: INTEGER is + -- Declared as CURLOPT_FOLLOWLOCATION + external + "C inline use " + alias + "[ + return CURLOPT_FOLLOWLOCATION; + ]" + end + curlopt_verbose: INTEGER is -- Declared as CURLOPT_VERBOSE. external @@ -165,7 +175,7 @@ feature -- Enumerations. end curlopt_noprogress: INTEGER is - -- Decalred as CURLOPT_NOPROGRESS + -- Declared as CURLOPT_NOPROGRESS external "C inline use " alias @@ -175,7 +185,7 @@ feature -- Enumerations. end curlopt_progressdata: INTEGER is - -- Decalred as CURLOPT_PROGRESSDATA + -- Declared as CURLOPT_PROGRESSDATA external "C inline use " alias @@ -212,6 +222,7 @@ feature -- Enumerations. Result := a_integer = curlopt_cookie or a_integer = curlopt_cookiefile or a_integer = curlopt_debugfunction or + a_integer = curlopt_followlocation or a_integer = curlopt_httpheader or a_integer = curlopt_httppost or a_integer = curlopt_post or