@@ -204,11 +204,11 @@ pub type __uid_t = ::std::os::raw::c_uint;
204204pub type __gid_t = :: std:: os:: raw:: c_uint ;
205205pub type __ino_t = :: std:: os:: raw:: c_ulong ;
206206pub type __mode_t = :: std:: os:: raw:: c_uint ;
207- pub type __nlink_t = :: std:: os:: raw:: c_ulong ;
207+ pub type __nlink_t = :: std:: os:: raw:: c_uint ;
208208pub type __off_t = :: std:: os:: raw:: c_long ;
209209pub type __off64_t = :: std:: os:: raw:: c_long ;
210210pub type __time_t = :: std:: os:: raw:: c_long ;
211- pub type __blksize_t = :: std:: os:: raw:: c_long ;
211+ pub type __blksize_t = :: std:: os:: raw:: c_int ;
212212pub type __blkcnt_t = :: std:: os:: raw:: c_long ;
213213pub type __syscall_slong_t = :: std:: os:: raw:: c_long ;
214214pub type gid_t = __gid_t ;
@@ -768,19 +768,20 @@ pub type zend_class_arrayaccess_funcs = _zend_class_arrayaccess_funcs;
768768pub struct stat {
769769 pub st_dev : __dev_t ,
770770 pub st_ino : __ino_t ,
771- pub st_nlink : __nlink_t ,
772771 pub st_mode : __mode_t ,
772+ pub st_nlink : __nlink_t ,
773773 pub st_uid : __uid_t ,
774774 pub st_gid : __gid_t ,
775- pub __pad0 : :: std:: os:: raw:: c_int ,
776775 pub st_rdev : __dev_t ,
776+ pub __pad1 : __dev_t ,
777777 pub st_size : __off_t ,
778778 pub st_blksize : __blksize_t ,
779+ pub __pad2 : :: std:: os:: raw:: c_int ,
779780 pub st_blocks : __blkcnt_t ,
780781 pub st_atim : timespec ,
781782 pub st_mtim : timespec ,
782783 pub st_ctim : timespec ,
783- pub __glibc_reserved : [ __syscall_slong_t ; 3usize ] ,
784+ pub __glibc_reserved : [ :: std :: os :: raw :: c_int ; 2usize ] ,
784785}
785786pub type zend_stream_fsizer_t =
786787 :: std:: option:: Option < unsafe extern "C" fn ( handle : * mut :: std:: os:: raw:: c_void ) -> usize > ;
@@ -1420,7 +1421,7 @@ pub struct _zend_execute_data {
14201421 pub run_time_cache : * mut * mut :: std:: os:: raw:: c_void ,
14211422 pub extra_named_params : * mut zend_array ,
14221423}
1423- pub type __jmp_buf = [ :: std:: os:: raw:: c_long ; 8usize ] ;
1424+ pub type __jmp_buf = [ :: std:: os:: raw:: c_ulonglong ; 22usize ] ;
14241425#[ repr( C ) ]
14251426#[ derive( Debug , Copy , Clone ) ]
14261427pub struct __jmp_buf_tag {
@@ -2732,3 +2733,42 @@ pub struct _sapi_post_entry {
27322733 ) ,
27332734 > ,
27342735}
2736+ #[ doc = " A class which helps with constructing INI entries from the command\n line." ]
2737+ #[ repr( C ) ]
2738+ #[ derive( Debug , Copy , Clone ) ]
2739+ pub struct php_ini_builder {
2740+ pub value : * mut :: std:: os:: raw:: c_char ,
2741+ pub length : usize ,
2742+ }
2743+ extern "C" {
2744+ #[ doc = " Prepend a string.\n \n @param src the source string\n @param length the size of the source string" ]
2745+ pub fn php_ini_builder_prepend (
2746+ b : * mut php_ini_builder ,
2747+ src : * const :: std:: os:: raw:: c_char ,
2748+ length : usize ,
2749+ ) ;
2750+ }
2751+ extern "C" {
2752+ #[ doc = " Append an unquoted name/value pair." ]
2753+ pub fn php_ini_builder_unquoted (
2754+ b : * mut php_ini_builder ,
2755+ name : * const :: std:: os:: raw:: c_char ,
2756+ name_length : usize ,
2757+ value : * const :: std:: os:: raw:: c_char ,
2758+ value_length : usize ,
2759+ ) ;
2760+ }
2761+ extern "C" {
2762+ #[ doc = " Append a quoted name/value pair." ]
2763+ pub fn php_ini_builder_quoted (
2764+ b : * mut php_ini_builder ,
2765+ name : * const :: std:: os:: raw:: c_char ,
2766+ name_length : usize ,
2767+ value : * const :: std:: os:: raw:: c_char ,
2768+ value_length : usize ,
2769+ ) ;
2770+ }
2771+ extern "C" {
2772+ #[ doc = " Parse an INI entry from the command-line option \" --define\" ." ]
2773+ pub fn php_ini_builder_define ( b : * mut php_ini_builder , arg : * const :: std:: os:: raw:: c_char ) ;
2774+ }
0 commit comments