diff options
author | Sascha Schumann <sas@php.net> | 1999-12-10 12:38:20 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 1999-12-10 12:38:20 +0000 |
commit | e08b2e7b0f3951b4ea375499f21ea67bc8c799e2 (patch) | |
tree | 9879b93e5c7d1536f212ec336e913f2b06e306df | |
parent | 415d53e751353638f7e12a19603f896bd1d1f564 (diff) | |
download | php-git-e08b2e7b0f3951b4ea375499f21ea67bc8c799e2.tar.gz |
Export sapi_free_header()
-rw-r--r-- | main/SAPI.c | 2 | ||||
-rw-r--r-- | main/SAPI.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/main/SAPI.c b/main/SAPI.c index b88b8ebf8c..09b1823f18 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -86,7 +86,7 @@ SAPI_API void sapi_shutdown(void) } -static void sapi_free_header(sapi_header_struct *sapi_header) +SAPI_API void sapi_free_header(sapi_header_struct *sapi_header) { efree(sapi_header->header); } diff --git a/main/SAPI.h b/main/SAPI.h index f4c62d256f..1e38d21bbe 100644 --- a/main/SAPI.h +++ b/main/SAPI.h @@ -119,6 +119,7 @@ SAPI_API void sapi_deactivate(SLS_D); SAPI_API int sapi_add_header(char *header_line, uint header_line_len); SAPI_API int sapi_send_headers(void); +SAPI_API void sapi_free_header(sapi_header_struct *sapi_header); SAPI_API int sapi_register_post_readers(sapi_post_content_type_reader *post_content_type_readers); SAPI_API int sapi_register_post_reader(sapi_post_content_type_reader *post_content_type_reader); |