summaryrefslogtreecommitdiff
path: root/ext/session/php_session.h
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2001-09-11 10:13:44 +0000
committerSterling Hughes <sterling@php.net>2001-09-11 10:13:44 +0000
commite302d6a5e8b889b206e450e194cf1ec6990528b5 (patch)
treec731969c676d8c0d5d7233ce1c301db8f64b8202 /ext/session/php_session.h
parentfdd6f08aec0ea69829fdaa7d187870c68709d1cd (diff)
downloadphp-git-e302d6a5e8b889b206e450e194cf1ec6990528b5.tar.gz
Add an API function for setting the session id from a session module...
# The SRM folks wanted/needed this
Diffstat (limited to 'ext/session/php_session.h')
-rw-r--r--ext/session/php_session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/session/php_session.h b/ext/session/php_session.h
index a21132da93..0ad182e858 100644
--- a/ext/session/php_session.h
+++ b/ext/session/php_session.h
@@ -156,6 +156,8 @@ int php_session_register_serializer(const char *name,
int (*encode)(PS_SERIALIZER_ENCODE_ARGS),
int (*decode)(PS_SERIALIZER_DECODE_ARGS));
+PHPAPI void php_session_set_id(char *id TSRMLS_DC);
+
#define PS_ADD_VARL(name,namelen) \
zend_hash_add_empty_element(&PS(vars), name, namelen + 1)