summaryrefslogtreecommitdiff
path: root/ext/session/mod_user.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-10-11 19:47:15 +0000
committerSascha Schumann <sas@php.net>2000-10-11 19:47:15 +0000
commitd2d5320ee8fac3a3bb56deda264e811f7c7e3106 (patch)
tree3038664287f815d56eb012e8ba383ca5d4290646 /ext/session/mod_user.h
parent0fd6a7ed18fc23c3b90175da5167ed8d6af9e3aa (diff)
downloadphp-git-d2d5320ee8fac3a3bb56deda264e811f7c7e3106.tar.gz
Add session_write_close(). This is primarily intended to enable
script writers to release the lock associated with the session lock before the request finishes. You can pass arrays now to session_set_save_handler(), so that the handlers can be located in an object for better abstraction.
Diffstat (limited to 'ext/session/mod_user.h')
-rw-r--r--ext/session/mod_user.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/session/mod_user.h b/ext/session/mod_user.h
index 8d63f9a104..dbea5b9a61 100644
--- a/ext/session/mod_user.h
+++ b/ext/session/mod_user.h
@@ -20,14 +20,14 @@
#define MOD_USER_H
typedef union {
- char *names[6];
+ zval *names[6];
struct {
- char *ps_open;
- char *ps_close;
- char *ps_read;
- char *ps_write;
- char *ps_destroy;
- char *ps_gc;
+ zval *ps_open;
+ zval *ps_close;
+ zval *ps_read;
+ zval *ps_write;
+ zval *ps_destroy;
+ zval *ps_gc;
} name;
} ps_user;