From 6179b0f223cab71426a818937c51301931b7c225 Mon Sep 17 00:00:00 2001 From: larryl Date: Sat, 3 Nov 2007 06:09:00 +0000 Subject: [PATCH] Added constant: curlopt_writefunction git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@71028 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 651090ce..c12171ed 100644 --- a/curl_opt_constants.e +++ b/curl_opt_constants.e @@ -144,6 +144,16 @@ feature -- Enumerations. ]" end + curlopt_writefunction: INTEGER is + -- Declared as CURLOPT_WRITEFUNCTION. + external + "C inline use " + alias + "[ + return CURLOPT_WRITEFUNCTION; + ]" + end + is_valid (a_integer: INTEGER): BOOLEAN is -- If `a_integer' value vaild? do @@ -159,7 +169,8 @@ feature -- Enumerations. a_integer = curlopt_useragent or a_integer = curlopt_verbose or a_integer = curlopt_writedata or - a_integer = curlopt_writeheader + a_integer = curlopt_writeheader or + a_integer = curlopt_writefunction end indexing