From e08b2e7b0f3951b4ea375499f21ea67bc8c799e2 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Fri, 10 Dec 1999 12:38:20 +0000 Subject: [PATCH] Export sapi_free_header() --- main/SAPI.c | 2 +- main/SAPI.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main/SAPI.c b/main/SAPI.c index b88b8ebf8c2..09b1823f187 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 f4c62d256f7..1e38d21bbe9 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);