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.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.h')
-rw-r--r-- | main/php.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h index d732b42c89..61743a050e 100644 --- a/main/php.h +++ b/main/php.h @@ -317,6 +317,8 @@ int mergesort(void *base, size_t nmemb, register size_t size, int (*cmp) (const /*from basic functions*/ extern PHPAPI int _php_error_log(int opt_err,char *message,char *opt,char *headers); +PHPAPI void php_register_post_request_startup(void (*func)(void *), void *userdata); + PHPAPI int cfg_get_long(char *varname, long *result); PHPAPI int cfg_get_double(char *varname, double *result); PHPAPI int cfg_get_string(char *varname, char **result); |