Added constant: curlopt_writefunction

git-svn-id: https://svn.origo.ethz.ch/eiffelstudio/trunk/Src/library/cURL@71028 8089f293-4706-0410-a29e-feb5c42a2edf
This commit is contained in:
larryl
2007-11-03 06:09:00 +00:00
parent 77c028a9cd
commit 6179b0f223

View File

@@ -144,6 +144,16 @@ feature -- Enumerations.
]" ]"
end end
curlopt_writefunction: INTEGER is
-- Declared as CURLOPT_WRITEFUNCTION.
external
"C inline use <curl/curl.h>"
alias
"[
return CURLOPT_WRITEFUNCTION;
]"
end
is_valid (a_integer: INTEGER): BOOLEAN is is_valid (a_integer: INTEGER): BOOLEAN is
-- If `a_integer' value vaild? -- If `a_integer' value vaild?
do do
@@ -159,7 +169,8 @@ feature -- Enumerations.
a_integer = curlopt_useragent or a_integer = curlopt_useragent or
a_integer = curlopt_verbose or a_integer = curlopt_verbose or
a_integer = curlopt_writedata or a_integer = curlopt_writedata or
a_integer = curlopt_writeheader a_integer = curlopt_writeheader or
a_integer = curlopt_writefunction
end end
indexing indexing