Home
last modified time | relevance | path

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

/PHP-7.3/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.h35 #define PS_OPEN_ARGS void **mod_data, const char *save_path, const char *session_name
36 #define PS_CLOSE_ARGS void **mod_data
37 #define PS_READ_ARGS void **mod_data, zend_string *key, zend_string **val, zend_long maxlifetime
38 #define PS_WRITE_ARGS void **mod_data, zend_string *key, zend_string *val, zend_long maxlifetime
39 #define PS_DESTROY_ARGS void **mod_data, zend_string *key
40 #define PS_GC_ARGS void **mod_data, zend_long maxlifetime, zend_long *nrdels
41 #define PS_CREATE_SID_ARGS void **mod_data
42 #define PS_VALIDATE_SID_ARGS void **mod_data, zend_string *key
58 #define PS_GET_MOD_DATA() *mod_data
59 #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()
1632 PS(mod)->s_close(&PS(mod_data)); in php_session_abort()
1904 PS(mod)->s_close(&PS(mod_data)); in PHP_FUNCTION()
1906 PS(mod_data) = NULL; in PHP_FUNCTION()
2182 PS(mod)->s_close(&PS(mod_data)); in PHP_FUNCTION()
2197 PS(mod)->s_close(&PS(mod_data)); in PHP_FUNCTION()
2203 PS(mod)->s_close(&PS(mod_data)); in PHP_FUNCTION()
2238 PS(mod)->s_close(&PS(mod_data)); in PHP_FUNCTION()
[all …]
H A Dmod_user.c232 return php_session_create_id(mod_data); in PS_CREATE_SID_FUNC()
250 return php_session_validate_sid(mod_data, key); in PS_VALIDATE_SID_FUNC()
H A Dmod_files.c429 ps_close_files(mod_data); in PS_OPEN_FUNC()

Completed in 23 milliseconds