diff options
| author | Stig Bakken <ssb@php.net> | 2000-02-25 21:27:03 +0000 |
|---|---|---|
| committer | Stig Bakken <ssb@php.net> | 2000-02-25 21:27:03 +0000 |
| commit | d23e5d837add8aa68b4376ff6c4b3ba6b201b894 (patch) | |
| tree | a7317cc78c8a5e75eede50ed1043ca24a71bcf65 /main/SAPI.h | |
| parent | 117087697414b89077b2485ed3796f62f75750f9 (diff) | |
| download | php-git-d23e5d837add8aa68b4376ff6c4b3ba6b201b894.tar.gz | |
@- Implemented default_charset and default_mimetype config directives (Stig)
Implemented default_charset and default_mimetype configuration directives.
Started implementing ticks in PHP.
Diffstat (limited to 'main/SAPI.h')
| -rw-r--r-- | main/SAPI.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/SAPI.h b/main/SAPI.h index 8cb83a38f1..71b25104b7 100644 --- a/main/SAPI.h +++ b/main/SAPI.h @@ -100,6 +100,8 @@ typedef struct { uint read_post_bytes; unsigned char headers_sent; struct stat global_stat; + char *default_mimetype; + char *default_charset; } sapi_globals_struct; @@ -142,6 +144,9 @@ SAPI_API int sapi_flush(); SAPI_API struct stat *sapi_get_stat(); SAPI_API char *sapi_getenv(char *name, int name_len); +SAPI_API char *sapi_get_default_content_type(SLS_D); +SAPI_API size_t sapi_apply_default_charset(char **mimetype, size_t len SLS_DC); + struct _sapi_module_struct { char *name; |
