diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2001-06-06 14:32:27 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2001-06-06 14:32:27 +0000 |
commit | 9c5588213372575ced9bdd5cc4ae1f4e7e2dd81e (patch) | |
tree | 77497e4153d389a03aab83f05572244164db48f5 /ext/session | |
parent | 49ab8cb8f17a0183c46f046c635b64302ecd3dcd (diff) | |
download | php-git-9c5588213372575ced9bdd5cc4ae1f4e7e2dd81e.tar.gz |
Fold a bit more code
Diffstat (limited to 'ext/session')
-rw-r--r-- | ext/session/mod_files.c | 11 | ||||
-rw-r--r-- | ext/session/mod_mm.c | 10 | ||||
-rw-r--r-- | ext/session/mod_user.c | 11 | ||||
-rw-r--r-- | ext/session/session.c | 22 |
4 files changed, 49 insertions, 5 deletions
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index bf0c74338d..5894289165 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -16,6 +16,8 @@ +----------------------------------------------------------------------+ */ +/* $Id$ */ + #include "php.h" #include <sys/stat.h> @@ -336,3 +338,12 @@ PS_GC_FUNC(files) return SUCCESS; } + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: sw=4 ts=4 tw=78 fdm=marker + * vim<600: sw=4 ts=4 tw=78 + */ diff --git a/ext/session/mod_mm.c b/ext/session/mod_mm.c index 987684e2d2..b6f4b52465 100644 --- a/ext/session/mod_mm.c +++ b/ext/session/mod_mm.c @@ -16,6 +16,7 @@ +----------------------------------------------------------------------+ */ +/* $Id$ */ #include "php.h" @@ -353,3 +354,12 @@ zend_module_entry php_session_mm_module = { }; #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: sw=4 ts=4 tw=78 fdm=marker + * vim<600: sw=4 ts=4 tw=78 + */ diff --git a/ext/session/mod_user.c b/ext/session/mod_user.c index 7064908f93..be4e89d50e 100644 --- a/ext/session/mod_user.c +++ b/ext/session/mod_user.c @@ -16,6 +16,8 @@ +----------------------------------------------------------------------+ */ +/* $Id$ */ + #include "php.h" #include "php_session.h" #include "mod_user.h" @@ -172,3 +174,12 @@ PS_GC_FUNC(user) FINISH; } + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: sw=4 ts=4 tw=78 fdm=marker + * vim<600: sw=4 ts=4 tw=78 + */ diff --git a/ext/session/session.c b/ext/session/session.c index ce3d9f781a..f66d151cbc 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -17,6 +17,8 @@ +----------------------------------------------------------------------+ */ +/* $Id$ */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -49,6 +51,8 @@ #include "mod_files.h" #include "mod_user.h" +/* {{{ session_functions[] + */ function_entry session_functions[] = { PHP_FE(session_name, NULL) PHP_FE(session_module_name, NULL) @@ -69,6 +73,7 @@ function_entry session_functions[] = { PHP_FE(session_write_close, NULL) {0} }; +/* }}} */ #ifdef ZTS int ps_globals_id; @@ -103,7 +108,8 @@ static PHP_INI_MH(OnUpdateSerializer) } - +/* {{{ PHP_INI + */ PHP_INI_BEGIN() STD_PHP_INI_ENTRY("session.save_path", "/tmp", PHP_INI_ALL, OnUpdateString, save_path, php_ps_globals, ps_globals) STD_PHP_INI_ENTRY("session.name", "PHPSESSID", PHP_INI_ALL, OnUpdateString, session_name, php_ps_globals, ps_globals) @@ -125,6 +131,7 @@ PHP_INI_BEGIN() /* Commented out until future discussion */ /* PHP_INI_ENTRY("session.encode_sources", "globals,track", PHP_INI_ALL, NULL) */ PHP_INI_END() +/* }}} */ PS_SERIALIZER_FUNCS(php); PS_SERIALIZER_FUNCS(php_binary); @@ -1142,7 +1149,6 @@ PHP_FUNCTION(session_cache_limiter) } /* }}} */ - /* {{{ static void php_register_var(zval** entry PSLS_DC PLS_DC) */ static void php_register_var(zval** entry PSLS_DC PLS_DC) { @@ -1164,7 +1170,6 @@ static void php_register_var(zval** entry PSLS_DC PLS_DC) } /* }}} */ - /* {{{ proto bool session_register(mixed var_names [, mixed ...]) Adds varname(s) to the list of variables which are freezed at the session end */ PHP_FUNCTION(session_register) @@ -1219,7 +1224,6 @@ PHP_FUNCTION(session_unregister) } /* }}} */ - /* {{{ proto bool session_is_registered(string varname) Checks if a variable is registered in session */ PHP_FUNCTION(session_is_registered) @@ -1242,7 +1246,6 @@ PHP_FUNCTION(session_is_registered) } /* }}} */ - /* {{{ proto string session_encode(void) Serializes the current setup and returns the serialized representation */ PHP_FUNCTION(session_encode) @@ -1443,3 +1446,12 @@ PHP_MINFO_FUNCTION(session) DISPLAY_INI_ENTRIES(); } + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * End: + * vim600: sw=4 ts=4 tw=78 fdm=marker + * vim<600: sw=4 ts=4 tw=78 + */ |