diff options
author | Sascha Schumann <sas@php.net> | 1999-11-17 23:01:27 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-11-17 23:01:27 +0000 |
commit | 4bb5e353d51e5ac1ded35df12190bee82d993b91 (patch) | |
tree | 5eb0308aa4090845541a26046e06c1596ce23fce /main/php_globals.h | |
parent | abe0176840dabdb12cda3c79a9d528ca662b86dc (diff) | |
download | php-git-4bb5e353d51e5ac1ded35df12190bee82d993b91.tar.gz |
Add post request startup handlers. These are called at the end of the
request startup function, and can use the initialized structures like
the symbol table.
Diffstat (limited to 'main/php_globals.h')
-rw-r--r-- | main/php_globals.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/php_globals.h b/main/php_globals.h index ab2ba8ac32..fcbdb68cc9 100644 --- a/main/php_globals.h +++ b/main/php_globals.h @@ -94,9 +94,16 @@ struct _php_core_globals { /* for fsock */ HashTable ht_fsock_keys; HashTable ht_fsock_socks; + + zend_llist ll_post_request_startup; }; +typedef struct { + void (*func)(void *); + void *userdata; +} php_post_request_startup; + #endif /* _PHP_GLOBALS_H */ /* |