- s/encoded/encode/

- new TODO entry
This commit is contained in:
Sascha Schumann 1999-06-06 15:18:51 +00:00
parent d5dc2cd22c
commit 605756de7f
2 changed files with 5 additions and 4 deletions

View file

@ -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);

View file

@ -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 <sys/time.h>
@ -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;