From 3725d4d5440796245fa7a95741746cd8254a5da9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Sat, 3 Nov 2007 06:40:21 +0000 Subject: [PATCH] make http_output_reply_header() public --- http.c | 2 +- http.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/http.c b/http.c index 87fe94d1..4a7b3cdd 100644 --- a/http.c +++ b/http.c @@ -119,7 +119,7 @@ http_rc2str(int code) /** * If current version mandates it, send a HTTP reply header back */ -static void +void http_output_reply_header(http_connection_t *hc, int rc) { if(hc->hc_version < HTTP_VERSION_1_0) diff --git a/http.h b/http.h index 8f580e0c..36a5310b 100644 --- a/http.h +++ b/http.h @@ -85,6 +85,7 @@ int http_tokenize(char *buf, char **vec, int vecsize, int delimiter); void http_error(http_connection_t *hc, int error); +void http_output_reply_header(http_connection_t *hc, int rc); typedef int (http_callback_t)(http_connection_t *hc, const char *remain, void *opaque);