make http_output_reply_header() public
This commit is contained in:
parent
50f37f1456
commit
3725d4d544
2 changed files with 2 additions and 1 deletions
2
http.c
2
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)
|
||||
|
|
1
http.h
1
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue