xref: /PHP-8.1/ext/exif/exif_arginfo.h (revision 50f31829)
1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: 22c3c385b3edc3e91b123e4c953d8836bf8eb7f3 */
3 
4 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_exif_tagname, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
5 	ZEND_ARG_TYPE_INFO(0, index, IS_LONG, 0)
6 ZEND_END_ARG_INFO()
7 
8 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_exif_read_data, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
9 	ZEND_ARG_INFO(0, file)
10 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, required_sections, IS_STRING, 1, "null")
11 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, as_arrays, _IS_BOOL, 0, "false")
12 	ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, read_thumbnail, _IS_BOOL, 0, "false")
13 ZEND_END_ARG_INFO()
14 
15 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_exif_thumbnail, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
16 	ZEND_ARG_INFO(0, file)
17 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, width, "null")
18 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, height, "null")
19 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, image_type, "null")
20 ZEND_END_ARG_INFO()
21 
22 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_exif_imagetype, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
23 	ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
24 ZEND_END_ARG_INFO()
25 
26 
27 ZEND_FUNCTION(exif_tagname);
28 ZEND_FUNCTION(exif_read_data);
29 ZEND_FUNCTION(exif_thumbnail);
30 ZEND_FUNCTION(exif_imagetype);
31 
32 
33 static const zend_function_entry ext_functions[] = {
34 	ZEND_FE(exif_tagname, arginfo_exif_tagname)
35 	ZEND_FE(exif_read_data, arginfo_exif_read_data)
36 	ZEND_FE(exif_thumbnail, arginfo_exif_thumbnail)
37 	ZEND_FE(exif_imagetype, arginfo_exif_imagetype)
38 	ZEND_FE_END
39 };
40