diff options
| author | Sascha Schumann <sas@php.net> | 1999-09-03 17:46:39 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 1999-09-03 17:46:39 +0000 |
| commit | 5b293ecd4dcd22a391784a88cead34d810e7eac7 (patch) | |
| tree | 368e68e3f30932d16012778b301c2c78fbf5e46a /ext/session/mod_mm.h | |
| parent | 690575e51f1866e00074411aae18f98d76cfdf26 (diff) | |
| download | php-git-5b293ecd4dcd22a391784a88cead34d810e7eac7.tar.gz | |
- add global startup/shutdown handlers
- improve genif.sh to also consider all header files for inclusion
(checks for phpext_)
- use vsnprintf in main.c to avoid buffer overflows
- improve sessions's mm module to cope better with OOM situations
within the shared memory segment
- fix typo wrt session.auto_start
Diffstat (limited to 'ext/session/mod_mm.h')
| -rw-r--r-- | ext/session/mod_mm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/session/mod_mm.h b/ext/session/mod_mm.h index e3cfe2db1f..69d9a7d3e1 100644 --- a/ext/session/mod_mm.h +++ b/ext/session/mod_mm.h @@ -32,14 +32,20 @@ #ifdef HAVE_LIBMM +#include "php_session.h" + extern ps_module ps_mod_mm; #define ps_mm_ptr &ps_mod_mm +extern zend_module_entry php_session_mm_module; +#define phpext_ps_mm_ptr &php_session_mm_module + PS_FUNCS(mm); #else #define ps_mm_ptr NULL +#define phpext_ps_mm_ptr NULL #endif |
