diff options
| author | Harald Radi <phanto@php.net> | 2002-06-10 21:16:25 +0000 |
|---|---|---|
| committer | Harald Radi <phanto@php.net> | 2002-06-10 21:16:25 +0000 |
| commit | fd8082ef67032ec838fec0a37c40869510da0e3c (patch) | |
| tree | 81aec54555cf6ecadf840405a0ea130e94bd8212 /ext/rpc/handler.h | |
| parent | f1f6818c20143abcb0253906a15c16e9fec778bb (diff) | |
| download | php-git-fd8082ef67032ec838fec0a37c40869510da0e3c.tar.gz | |
pooling and singleton finally work
Diffstat (limited to 'ext/rpc/handler.h')
| -rw-r--r-- | ext/rpc/handler.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/ext/rpc/handler.h b/ext/rpc/handler.h index 81d4fbad8a..e28c9b69e6 100644 --- a/ext/rpc/handler.h +++ b/ext/rpc/handler.h @@ -91,22 +91,24 @@ typedef struct _rpc_handler_entry { /* class/method/function hash */ typedef struct _rpc_class_hash { - rpc_string name; /* must be first entry */ - TsHashTable methods; - TsHashTable properties; - zend_class_entry *ce; + rpc_string name; /* must be first entry */ + zend_bool poolable; + zend_bool singleton; + TsHashTable methods; + TsHashTable properties; + rpc_object_handlers **handlers; + zend_class_entry *ce; + void *data; } rpc_class_hash; /* internal data */ typedef struct _rpc_internal { - zend_bool poolable; - zend_bool singleton; - zend_class_entry *ce; + MUTEX_T mx_handler; + TsHashTable function_table; rpc_object_handlers **handlers; - void *data; rpc_class_hash *hash; - TsHashTable function_table; - MUTEX_T mx_handler; + zend_class_entry *ce; + void *data; } rpc_internal; /* proxy data */ |
