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);