@@ -83,12 +83,20 @@ pub const ZEND_MODULE_API_NO: u32 = 20220829;
83
83
pub const USING_ZTS : u32 = 0 ;
84
84
pub const MAY_BE_BOOL : u32 = 12 ;
85
85
pub const MAY_BE_ANY : u32 = 1022 ;
86
+ pub const TRACK_VARS_POST : u32 = 0 ;
87
+ pub const TRACK_VARS_GET : u32 = 1 ;
88
+ pub const TRACK_VARS_COOKIE : u32 = 2 ;
89
+ pub const TRACK_VARS_SERVER : u32 = 3 ;
90
+ pub const TRACK_VARS_ENV : u32 = 4 ;
91
+ pub const TRACK_VARS_FILES : u32 = 5 ;
92
+ pub const TRACK_VARS_REQUEST : u32 = 6 ;
86
93
pub const CONST_CS : u32 = 0 ;
87
94
pub const CONST_PERSISTENT : u32 = 1 ;
88
95
pub const CONST_NO_FILE_CACHE : u32 = 2 ;
89
96
pub const CONST_DEPRECATED : u32 = 4 ;
90
97
pub type zend_long = i64 ;
91
98
pub type zend_ulong = u64 ;
99
+ pub type zend_bool = bool ;
92
100
pub type zend_uchar = :: std:: os:: raw:: c_uchar ;
93
101
pub const ZEND_RESULT_CODE_SUCCESS : ZEND_RESULT_CODE = 0 ;
94
102
pub const ZEND_RESULT_CODE_FAILURE : ZEND_RESULT_CODE = -1 ;
@@ -305,6 +313,28 @@ extern "C" {
305
313
extern "C" {
306
314
pub fn __zend_malloc ( len : usize ) -> * mut :: std:: os:: raw:: c_void ;
307
315
}
316
+ #[ repr( C ) ]
317
+ #[ derive( Debug , Copy , Clone ) ]
318
+ pub struct _zend_llist_element {
319
+ pub next : * mut _zend_llist_element ,
320
+ pub prev : * mut _zend_llist_element ,
321
+ pub data : [ :: std:: os:: raw:: c_char ; 1usize ] ,
322
+ }
323
+ pub type zend_llist_element = _zend_llist_element ;
324
+ pub type llist_dtor_func_t =
325
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : * mut :: std:: os:: raw:: c_void ) > ;
326
+ #[ repr( C ) ]
327
+ #[ derive( Debug , Copy , Clone ) ]
328
+ pub struct _zend_llist {
329
+ pub head : * mut zend_llist_element ,
330
+ pub tail : * mut zend_llist_element ,
331
+ pub count : usize ,
332
+ pub size : usize ,
333
+ pub dtor : llist_dtor_func_t ,
334
+ pub persistent : :: std:: os:: raw:: c_uchar ,
335
+ pub traverse_ptr : * mut zend_llist_element ,
336
+ }
337
+ pub type zend_llist = _zend_llist ;
308
338
pub type zend_string_init_interned_func_t = :: std:: option:: Option <
309
339
unsafe extern "C" fn (
310
340
str_ : * const :: std:: os:: raw:: c_char ,
@@ -1425,6 +1455,13 @@ extern "C" {
1425
1455
}
1426
1456
#[ repr( C ) ]
1427
1457
#[ derive( Debug , Copy , Clone ) ]
1458
+ pub struct _arg_separators {
1459
+ pub output : * mut :: std:: os:: raw:: c_char ,
1460
+ pub input : * mut :: std:: os:: raw:: c_char ,
1461
+ }
1462
+ pub type arg_separators = _arg_separators ;
1463
+ #[ repr( C ) ]
1464
+ #[ derive( Debug , Copy , Clone ) ]
1428
1465
pub struct _zend_ini_entry {
1429
1466
pub name : * mut zend_string ,
1430
1467
pub on_modify : :: std:: option:: Option <
0 commit comments