From 605756de7ff79adec4de50e93a91ba07d0eaf29b Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sun, 6 Jun 1999 15:18:51 +0000 Subject: [PATCH] - s/encoded/encode/ - new TODO entry --- ext/session/php_session.h | 2 +- ext/session/session.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ext/session/php_session.h b/ext/session/php_session.h index 480d5b23f9..7441547828 100644 --- a/ext/session/php_session.h +++ b/ext/session/php_session.h @@ -94,7 +94,7 @@ PHP_FUNCTION(session_id); PHP_FUNCTION(session_decode); PHP_FUNCTION(session_register); PHP_FUNCTION(session_unregister); -PHP_FUNCTION(session_encoded); +PHP_FUNCTION(session_encode); PHP_FUNCTION(session_start); PS_FUNCS(files); diff --git a/ext/session/session.c b/ext/session/session.c index aaa06664fb..637fdf89ff 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -34,6 +34,7 @@ * - improve files handler for better scaling * - add complete support for objects (partially implemented) * - complete ZTS support (currently only useable as non-ZTS) + * - userland callback functions for ps_module */ #include @@ -63,7 +64,7 @@ function_entry session_functions[] = { PHP_FE(session_decode, NULL) PHP_FE(session_register, NULL) PHP_FE(session_unregister, NULL) - PHP_FE(session_encoded, NULL) + PHP_FE(session_encode, NULL) PHP_FE(session_start, NULL) {0} }; @@ -453,9 +454,9 @@ PHP_FUNCTION(session_unregister) } /* }}} */ -/* {{{ proto string session_encoded() +/* {{{ proto string session_encode() serializes the current setup and returns the serialized representation */ -PHP_FUNCTION(session_encoded) +PHP_FUNCTION(session_encode) { int len; char *enc; -- 2.50.1