Skip to content

Commit 36d6159

Browse files
committed
update bindings
1 parent 01060ff commit 36d6159

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

docsrs_bindings.rs

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,20 @@ pub const ZEND_MODULE_API_NO: u32 = 20220829;
8383
pub const USING_ZTS: u32 = 0;
8484
pub const MAY_BE_BOOL: u32 = 12;
8585
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;
8693
pub const CONST_CS: u32 = 0;
8794
pub const CONST_PERSISTENT: u32 = 1;
8895
pub const CONST_NO_FILE_CACHE: u32 = 2;
8996
pub const CONST_DEPRECATED: u32 = 4;
9097
pub type zend_long = i64;
9198
pub type zend_ulong = u64;
99+
pub type zend_bool = bool;
92100
pub type zend_uchar = ::std::os::raw::c_uchar;
93101
pub const ZEND_RESULT_CODE_SUCCESS: ZEND_RESULT_CODE = 0;
94102
pub const ZEND_RESULT_CODE_FAILURE: ZEND_RESULT_CODE = -1;
@@ -305,6 +313,28 @@ extern "C" {
305313
extern "C" {
306314
pub fn __zend_malloc(len: usize) -> *mut ::std::os::raw::c_void;
307315
}
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;
308338
pub type zend_string_init_interned_func_t = ::std::option::Option<
309339
unsafe extern "C" fn(
310340
str_: *const ::std::os::raw::c_char,
@@ -1425,6 +1455,13 @@ extern "C" {
14251455
}
14261456
#[repr(C)]
14271457
#[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)]
14281465
pub struct _zend_ini_entry {
14291466
pub name: *mut zend_string,
14301467
pub on_modify: ::std::option::Option<

0 commit comments

Comments
 (0)