Automatic generation produced by ISE Eiffel
note description: "[ cURL externals. For more information, see: http://curl.haxx.se/libcurl/c/ ]" status: "See notice at end of class." legal: "See notice at end of class." date: "$Date: 2018-08-02 05:37:47 -0800 (Thu, 02 Aug 2018) $" revision: "$Revision: 101998 $" class interface CURL_EXTERNALS create default_create -- Process instances of classes with no creation clause. -- (Default: do nothing.) -- (from ANY) feature -- Access generating_type: TYPE [detachable CURL_EXTERNALS] -- Type of current object -- (type of which it is a direct instance) -- (from ANY) ensure -- from ANY generating_type_not_void: Result /= Void generator: STRING_8 -- Name of current object's generating class -- (base class of the type of which it is a direct instance) -- (from ANY) ensure -- from ANY generator_not_void: Result /= Void generator_not_empty: not Result.is_empty feature -- Comparison frozen deep_equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void -- or attached to isomorphic object structures? -- (from ANY) ensure -- from ANY instance_free: class shallow_implies_deep: standard_equal (a, b) implies Result both_or_none_void: (a = Void) implies (Result = (b = Void)) same_type: (Result and (a /= Void)) implies (b /= Void and then a.same_type (b)) symmetric: Result implies deep_equal (b, a) frozen equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void or attached -- to objects considered equal? -- (from ANY) ensure -- from ANY instance_free: class definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.is_equal (b)) frozen is_deep_equal alias "≡≡≡" (other: CURL_EXTERNALS): BOOLEAN -- Are Current and other attached to isomorphic object structures? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY shallow_implies_deep: standard_is_equal (other) implies Result same_type: Result implies same_type (other) symmetric: Result implies other.is_deep_equal (Current) is_equal (other: CURL_EXTERNALS): BOOLEAN -- Is other attached to an object considered -- equal to current object? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY symmetric: Result implies other ~ Current consistent: standard_is_equal (other) implies Result frozen standard_equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void or attached to -- field-by-field identical objects of the same type? -- Always uses default object comparison criterion. -- (from ANY) ensure -- from ANY instance_free: class definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.standard_is_equal (b)) frozen standard_is_equal alias "≜" (other: CURL_EXTERNALS): BOOLEAN -- Is other attached to an object of the same type -- as current object, and field-by-field identical to it? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY same_type: Result implies same_type (other) symmetric: Result implies other.standard_is_equal (Current) feature -- Status report conforms_to (other: ANY): BOOLEAN -- Does type of current object conform to type -- of other (as per Eiffel: The Language, chapter 13)? -- (from ANY) require -- from ANY other_not_void: other /= Void is_api_available: BOOLEAN -- <Precursor>. -- i.e if dll/so file exists. -- (from CURL_DYNAMIC_EXTERNALS_I) require -- from CURL_EXTERNALS_I True same_type (other: ANY): BOOLEAN -- Is type of current object identical to type of other? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY definition: Result = (conforms_to (other) and other.conforms_to (Current)) feature -- Duplication copy (other: CURL_EXTERNALS) -- Update current object using fields of object attached -- to other, so as to yield equal objects. -- (from ANY) require -- from ANY other_not_void: other /= Void type_identity: same_type (other) ensure -- from ANY is_equal: Current ~ other frozen deep_copy (other: CURL_EXTERNALS) -- Effect equivalent to that of: -- `copy` (other . `deep_twin`) -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY deep_equal: deep_equal (Current, other) frozen deep_twin: CURL_EXTERNALS -- New object structure recursively duplicated from Current. -- (from ANY) ensure -- from ANY deep_twin_not_void: Result /= Void deep_equal: deep_equal (Current, Result) frozen standard_copy (other: CURL_EXTERNALS) -- Copy every field of other onto corresponding field -- of current object. -- (from ANY) require -- from ANY other_not_void: other /= Void type_identity: same_type (other) ensure -- from ANY is_standard_equal: standard_is_equal (other) frozen standard_twin: CURL_EXTERNALS -- New object field-by-field identical to other. -- Always uses default copying semantics. -- (from ANY) ensure -- from ANY standard_twin_not_void: Result /= Void equal: standard_equal (Result, Current) frozen twin: CURL_EXTERNALS -- New object equal to Current -- `twin` calls `copy`; to change copying/twinning semantics, redefine `copy`. -- (from ANY) ensure -- from ANY twin_not_void: Result /= Void is_equal: Result ~ Current feature -- Basic operations frozen default: detachable CURL_EXTERNALS -- Default value of object's type -- (from ANY) frozen default_pointer: POINTER -- Default value of type POINTER -- (Avoid the need to write p.`default` for -- some p of type POINTER.) -- (from ANY) ensure -- from ANY instance_free: class default_rescue -- Process exception for routines with no Rescue clause. -- (Default: do nothing.) -- (from ANY) frozen do_nothing -- Execute a null action. -- (from ANY) ensure -- from ANY instance_free: class feature -- Command error_message (a_code: INTEGER_32): READABLE_STRING_32 -- error message given the code 'a_code' if any or return -- an Unknown error. -- (from CURL_EXTERNALS_I) formadd_string_string (a_form: CURL_FORM; a_last_pointer: CURL_FORM; a_arg_1: INTEGER_32; a_arg_1_value: READABLE_STRING_GENERAL; a_arg_2: INTEGER_32; a_arg_2_value: READABLE_STRING_GENERAL; a_arg_3: INTEGER_32) -- Declared as curl_formadd (). -- (from CURL_EXTERNALS_I) require -- from CURL_EXTERNALS_I not_void: a_form /= Void not_void: a_last_pointer /= Void valid: (create {CURL_FORM_CONSTANTS} end).is_valid (a_arg_1) not_void: a_arg_1_value /= Void valid: (create {CURL_FORM_CONSTANTS} end).is_valid (a_arg_2) not_void: a_arg_2_value /= Void valid: (create {CURL_FORM_CONSTANTS} end).is_valid (a_arg_3) global_cleanup -- Declared as curl_global_cleanup(). -- (from CURL_EXTERNALS_I) global_init -- Declared as curl_global_init(). -- (from CURL_EXTERNALS_I) slist_append (a_list: POINTER; a_string: READABLE_STRING_GENERAL): POINTER -- Declared as curl_slist_append (). -- note: call with a null a_list to get initialized pointer as Result -- (from CURL_EXTERNALS_I) require -- from CURL_EXTERNALS_I not_void: a_string /= Void slist_free_all (a_curl_slist: POINTER) -- Declared as curl_slist_free_all (). -- See: http://curl.haxx.se/libcurl/c/curl_slist_free_all.html -- curl_slist_free_all - free an entire curl_slist list -- This must be called when the data has been used, which typically means after the curl_easy_perform(3) has been called. -- (from CURL_EXTERNALS_I) require -- from CURL_EXTERNALS_I exists: a_curl_slist /= default_pointer feature -- Function pointer curl_easy_strerror_ptr: POINTER curl_formadd_ptr: POINTER curl_formfree_ptr: POINTER curl_global_cleanup_ptr: POINTER curl_global_init_ptr: POINTER curl_mime_addpart_ptr: POINTER curl_mime_data_ptr: POINTER curl_mime_filedata_ptr: POINTER curl_mime_free_ptr: POINTER curl_mime_headers_ptr: POINTER curl_mime_init_ptr: POINTER curl_mime_subparts_ptr: POINTER curl_mime_type_ptr: POINTER curl_slist_append_ptr: POINTER curl_slist_free_all_ptr: POINTER feature -- MIME curl_mime_addpart (a_curl_mime: POINTER): POINTER -- (from CURL_EXTERNALS_I) require -- from CURL_EXTERNALS_I exists: not a_curl_mime.is_default_pointer curl_mime_data (a_curl_mime: POINTER; a_inline_html: READABLE_STRING_8; a_size: INTEGER_32): INTEGER_32 -- (from CURL_EXTERNALS_I) require -- from CURL_EXTERNALS_I exists: not a_curl_mime.is_default_pointer curl_mime_filedata (a_mime_part: POINTER; a_filename: READABLE_STRING_8): INTEGER_32 -- (from CURL_EXTERNALS_I) require -- from CURL_EXTERNALS_I exists_mime_part: not a_mime_part.is_default_pointer curl_mime_free (a_mime: POINTER) -- (from CURL_EXTERNALS_I) require -- from CURL_EXTERNALS_I exist_mime: not a_mime.is_default_pointer curl_mime_headers (a_mime_part: POINTER; a_headers: POINTER; a_take_ownership: INTEGER_32): INTEGER_32 -- (from CURL_EXTERNALS_I) require -- from CURL_EXTERNALS_I exists_mime_part: not a_mime_part.is_default_pointer exists_headers: not a_headers.is_default_pointer curl_mime_init (a_curl_handle: POINTER): POINTER -- (from CURL_EXTERNALS_I) require -- from CURL_EXTERNALS_I exists: not a_curl_handle.is_default_pointer curl_mime_subparts (a_curl_mime_part: POINTER; a_subpart: POINTER): INTEGER_32 -- (from CURL_EXTERNALS_I) require -- from CURL_EXTERNALS_I exists_mime_part: not a_curl_mime_part.is_default_pointer exists_subpart: not a_subpart.is_default_pointer curl_mime_type (a_curl_mime: POINTER; a_type: READABLE_STRING_8): INTEGER_32 -- (from CURL_EXTERNALS_I) require -- from CURL_EXTERNALS_I exists: not a_curl_mime.is_default_pointer feature -- Output Io: STD_FILES -- Handle to standard file setup -- (from ANY) ensure -- from ANY instance_free: class io_not_void: Result /= Void out: STRING_8 -- New string containing terse printable representation -- of current object -- (from ANY) ensure -- from ANY out_not_void: Result /= Void print (o: detachable ANY) -- Write terse external representation of o -- on standard output. -- (from ANY) ensure -- from ANY instance_free: class frozen tagged_out: STRING_8 -- New string containing terse printable representation -- of current object -- (from ANY) ensure -- from ANY tagged_out_not_void: Result /= Void feature -- Platform Operating_environment: OPERATING_ENVIRONMENT -- Objects available from the operating system -- (from ANY) ensure -- from ANY instance_free: class operating_environment_not_void: Result /= Void invariant -- from ANY reflexive_equality: standard_is_equal (Current) reflexive_conformance: conforms_to (Current) note library: "cURL: Library of reusable components for Eiffel." copyright: "Copyright (c) 1984-2018, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 5949 Hollister Ave., Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class CURL_EXTERNALS -- Generated by Eiffel Studio --
For more details: eiffel.org