diff options
author | Zeev Suraski <zeev@php.net> | 2000-01-13 17:37:25 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-01-13 17:37:25 +0000 |
commit | 972631be7105a3120a405dc0d25c2dbb7179cd13 (patch) | |
tree | fce49aae99b6b0f3f2cd2f80a9a5580ff495fa6b /main/SAPI.h | |
parent | c658fc5cbdede7c8d11c7bf7eb84b342ae34c2e3 (diff) | |
download | php-git-972631be7105a3120a405dc0d25c2dbb7179cd13.tar.gz |
- Added flush() support to SAPI
- Got rid of the old flush() implemenetation in favour of the new one
- Added implicit_flush() support to the output buffering layer.
@- Added implicit_flush() to control whether flush() should be called
@ implicitly after any output (Zeev)
Diffstat (limited to 'main/SAPI.h')
-rw-r--r-- | main/SAPI.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/SAPI.h b/main/SAPI.h index 67df3af30e..d5ebcdc62f 100644 --- a/main/SAPI.h +++ b/main/SAPI.h @@ -126,6 +126,9 @@ SAPI_API int sapi_register_post_reader(sapi_post_content_type_reader *post_conte SAPI_API void sapi_unregister_post_reader(sapi_post_content_type_reader *post_content_type_reader); SAPI_API int sapi_register_default_post_reader(void (*default_post_reader)(char *content_type_dup SLS_DC)); +SAPI_API int sapi_flush(); + + struct _sapi_module_struct { char *name; @@ -133,6 +136,7 @@ struct _sapi_module_struct { int (*shutdown)(struct _sapi_module_struct *sapi_module); int (*ub_write)(const char *str, unsigned int str_length); + void (*flush)(void *server_context); void (*sapi_error)(int type, const char *error_msg, ...); |