Home
last modified time | relevance | path

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

/PHP-8.0/ext/session/
H A Dmod_user_class.c53 ret = PS(default_mod)->s_open(&PS(mod_data), save_path, session_name); in PHP_METHOD()
77 ret = PS(default_mod)->s_close(&PS(mod_data)); in PHP_METHOD()
99 if (PS(default_mod)->s_read(&PS(mod_data), key, &val, PS(gc_maxlifetime)) == FAILURE) { in PHP_METHOD()
118 RETURN_BOOL(SUCCESS == PS(default_mod)->s_write(&PS(mod_data), key, val, PS(gc_maxlifetime))); in PHP_METHOD()
133 RETURN_BOOL(SUCCESS == PS(default_mod)->s_destroy(&PS(mod_data), key)); in PHP_METHOD()
149 if (PS(default_mod)->s_gc(&PS(mod_data), maxlifetime, &nrdels) == FAILURE) { in PHP_METHOD()
167 id = PS(default_mod)->s_create_sid(&PS(mod_data)); in PHP_METHOD()
H A Dphp_session.h30 #define PS_OPEN_ARGS void **mod_data, const char *save_path, const char *session_name
31 #define PS_CLOSE_ARGS void **mod_data
32 #define PS_READ_ARGS void **mod_data, zend_string *key, zend_string **val, zend_long maxlifetime
33 #define PS_WRITE_ARGS void **mod_data, zend_string *key, zend_string *val, zend_long maxlifetime
34 #define PS_DESTROY_ARGS void **mod_data, zend_string *key
35 #define PS_GC_ARGS void **mod_data, zend_long maxlifetime, zend_long *nrdels
36 #define PS_CREATE_SID_ARGS void **mod_data
37 #define PS_VALIDATE_SID_ARGS void **mod_data, zend_string *key
53 #define PS_GET_MOD_DATA() *mod_data
54 #define PS_SET_MOD_DATA(a) *mod_data = (a)
[all …]
H A Dsession.c114 PS(mod_data) = NULL; in php_rinit_session_globals()
133 PS(mod)->s_close(&PS(mod_data)); in php_rshutdown_session_globals()
511 PS(mod)->s_close(&PS(mod_data)); in php_session_save_current_state()
1639 PS(mod)->s_close(&PS(mod_data)); in php_session_abort()
1932 PS(mod)->s_close(&PS(mod_data)); in PHP_FUNCTION()
1934 PS(mod_data) = NULL; in PHP_FUNCTION()
2210 PS(mod)->s_close(&PS(mod_data)); in PHP_FUNCTION()
2227 PS(mod)->s_close(&PS(mod_data)); in PHP_FUNCTION()
2233 PS(mod)->s_close(&PS(mod_data)); in PHP_FUNCTION()
2280 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.c426 ps_close_files(mod_data); in PS_OPEN_FUNC()

Completed in 22 milliseconds