summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-02-05 01:28:55 +0000
committerfoobar <sniper@php.net>2002-02-05 01:28:55 +0000
commit86f123ba2e74b49334adb244ed146ceca771a7f6 (patch)
tree898539803f30991aa69854a5b895d9514ce211fa
parent53cfce6bc59afec4a87d792849788ef42bb5ed05 (diff)
downloadphp-git-86f123ba2e74b49334adb244ed146ceca771a7f6.tar.gz
Export php_session_start().
-rw-r--r--ext/session/php_session.h1
-rw-r--r--ext/session/session.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/session/php_session.h b/ext/session/php_session.h
index dbb7899891..279a923b32 100644
--- a/ext/session/php_session.h
+++ b/ext/session/php_session.h
@@ -160,6 +160,7 @@ PHPAPI int php_session_register_serializer(const char *name,
int (*decode)(PS_SERIALIZER_DECODE_ARGS));
PHPAPI void php_session_set_id(char *id TSRMLS_DC);
+PHPAPI void php_session_start(TSRMLS_D);
#define PS_ADD_VARL(name,namelen) \
zend_hash_add_empty_element(&PS(vars), name, namelen + 1)
diff --git a/ext/session/session.c b/ext/session/session.c
index 69836bff53..59d5a4abb4 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -825,7 +825,7 @@ static const ps_serializer *_php_find_ps_serializer(char *name TSRMLS_DC)
convert_to_string((*ppid)); \
PS(id) = estrndup(Z_STRVAL_PP(ppid), Z_STRLEN_PP(ppid))
-static void php_session_start(TSRMLS_D)
+PHPAPI void php_session_start(TSRMLS_D)
{
pval **ppid;
pval **data;