From eb57cb19738cf5ce4885b31f8846d411a7d22321 Mon Sep 17 00:00:00 2001 From: larryl Date: Tue, 8 Jun 2010 03:09:06 +0000 Subject: [PATCH] Added CURLOPT_CUSTOMREQUEST More info please check: http://curl.haxx.se/libcurl/c/curl_easy_setopt.html Contributed by Javier Hector git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@83453 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 8543514d..c7cd55c8 100644 --- a/curl_opt_constants.e +++ b/curl_opt_constants.e @@ -316,6 +316,16 @@ feature -- Enumerations. ]" end + curlopt_customrequest: INTEGER + -- Declared as CURLOPT_CUSTOMREQUEST + external + "C inline use " + alias + "[ + return CURLOPT_CUSTOMREQUEST + ]" + end + is_valid (a_integer: INTEGER): BOOLEAN -- If `a_integer' value valid? do @@ -347,12 +357,13 @@ feature -- Enumerations. a_integer = curlopt_infilesize_large or a_integer = curlopt_proxy or a_integer = curlopt_encoding or - a_integer = curlopt_timeout + a_integer = curlopt_timeout or + a_integer = curlopt_customrequest end note library: "cURL: Library of reusable components for Eiffel." - copyright: "Copyright (c) 1984-2009, Eiffel Software and others" + copyright: "Copyright (c) 1984-2010, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software