xref: /PHP-8.0/ext/curl/curl_file_arginfo.h (revision f6024a90)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: a81720edab23748f6dce30306f5a5ffc9634da5d */
3 
4 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_CURLFile___construct, 0, 0, 1)
5 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
6 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mime_type, IS_STRING, 1, "null")
7 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, posted_filename, IS_STRING, 1, "null")
8 ZEND_END_ARG_INFO()
9 
10 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_CURLFile_getFilename, 0, 0, 0)
11 ZEND_END_ARG_INFO()
12 
13 #define arginfo_class_CURLFile_getMimeType arginfo_class_CURLFile_getFilename
14 
15 #define arginfo_class_CURLFile_getPostFilename arginfo_class_CURLFile_getFilename
16 
17 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_CURLFile_setMimeType, 0, 0, 1)
18 	ZEND_ARG_TYPE_INFO(0, mime_type, IS_STRING, 0)
19 ZEND_END_ARG_INFO()
20 
21 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_CURLFile_setPostFilename, 0, 0, 1)
22 	ZEND_ARG_TYPE_INFO(0, posted_filename, IS_STRING, 0)
23 ZEND_END_ARG_INFO()
24 
25 
26 ZEND_METHOD(CURLFile, __construct);
27 ZEND_METHOD(CURLFile, getFilename);
28 ZEND_METHOD(CURLFile, getMimeType);
29 ZEND_METHOD(CURLFile, getPostFilename);
30 ZEND_METHOD(CURLFile, setMimeType);
31 ZEND_METHOD(CURLFile, setPostFilename);
32 
33 
34 static const zend_function_entry class_CURLFile_methods[] = {
35 	ZEND_ME(CURLFile, __construct, arginfo_class_CURLFile___construct, ZEND_ACC_PUBLIC)
36 	ZEND_ME(CURLFile, getFilename, arginfo_class_CURLFile_getFilename, ZEND_ACC_PUBLIC)
37 	ZEND_ME(CURLFile, getMimeType, arginfo_class_CURLFile_getMimeType, ZEND_ACC_PUBLIC)
38 	ZEND_ME(CURLFile, getPostFilename, arginfo_class_CURLFile_getPostFilename, ZEND_ACC_PUBLIC)
39 	ZEND_ME(CURLFile, setMimeType, arginfo_class_CURLFile_setMimeType, ZEND_ACC_PUBLIC)
40 	ZEND_ME(CURLFile, setPostFilename, arginfo_class_CURLFile_setPostFilename, ZEND_ACC_PUBLIC)
41 	ZEND_FE_END
42 };
43