Home
last modified time | relevance | path

Searched refs:mod_data (Results 1 – 5 of 5) sorted by relevance

/PHP-7.4/ext/session/
H A Dmod_user_class.c56 ret = PS(default_mod)->s_open(&PS(mod_data), save_path, session_name); in PHP_METHOD()
81 ret = PS(default_mod)->s_close(&PS(mod_data)); in PHP_METHOD()
104 if (PS(default_mod)->s_read(&PS(mod_data), key, &val, PS(gc_maxlifetime)) == FAILURE) { in PHP_METHOD()
124 RETURN_BOOL(SUCCESS == PS(default_mod)->s_write(&PS(mod_data), key, val, PS(gc_maxlifetime))); in PHP_METHOD()
140 RETURN_BOOL(SUCCESS == PS(default_mod)->s_destroy(&PS(mod_data), key)); in PHP_METHOD()
157 if (PS(default_mod)->s_gc(&PS(mod_data), maxlifetime, &nrdels) == FAILURE) { in PHP_METHOD()
176 id = PS(default_mod)->s_create_sid(&PS(mod_data)); in PHP_METHOD()
212 RETVAL_BOOL(SUCCESS == PS(default_mod)->s_write(&PS(mod_data), key, val, PS(gc_maxlifetime))); in PHP_METHOD()
H A Dphp_session.h32 #define PS_OPEN_ARGS void **mod_data, const char *save_path, const char *session_name
33 #define PS_CLOSE_ARGS void **mod_data
34 #define PS_READ_ARGS void **mod_data, zend_string *key, zend_string **val, zend_long maxlifetime
35 #define PS_WRITE_ARGS void **mod_data, zend_string *key, zend_string *val, zend_long maxlifetime
36 #define PS_DESTROY_ARGS void **mod_data, zend_string *key
37 #define PS_GC_ARGS void **mod_data, zend_long maxlifetime, zend_long *nrdels
38 #define PS_CREATE_SID_ARGS void **mod_data
39 #define PS_VALIDATE_SID_ARGS void **mod_data, zend_string *key
55 #define PS_GET_MOD_DATA() *mod_data
56 #define PS_SET_MOD_DATA(a) *mod_data = (a)
[all …]
H A Dsession.c118 PS(mod_data) = NULL; in php_rinit_session_globals()
137 PS(mod)->s_close(&PS(mod_data)); in php_rshutdown_session_globals()
507 PS(mod)->s_close(&PS(mod_data)); in php_session_save_current_state()
1634 PS(mod)->s_close(&PS(mod_data)); in php_session_abort()
1915 PS(mod)->s_close(&PS(mod_data)); in PHP_FUNCTION()
1917 PS(mod_data) = NULL; in PHP_FUNCTION()
2192 PS(mod)->s_close(&PS(mod_data)); in PHP_FUNCTION()
2207 PS(mod)->s_close(&PS(mod_data)); in PHP_FUNCTION()
2213 PS(mod)->s_close(&PS(mod_data)); in PHP_FUNCTION()
2248 PS(mod)->s_close(&PS(mod_data)); in PHP_FUNCTION()
[all …]
H A Dmod_user.c231 return php_session_create_id(mod_data); in PS_CREATE_SID_FUNC()
249 return php_session_validate_sid(mod_data, key); in PS_VALIDATE_SID_FUNC()
H A Dmod_files.c428 ps_close_files(mod_data); in PS_OPEN_FUNC()

Completed in 29 milliseconds