You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
449 B
C
22 lines
449 B
C
15 years ago
|
#ifndef _LIGHTTPD_RESPONSE_H_
|
||
|
#define _LIGHTTPD_RESPONSE_H_
|
||
|
|
||
|
struct response;
|
||
|
typedef struct response response;
|
||
|
|
||
|
#include "http_headers.h"
|
||
|
|
||
|
struct response {
|
||
|
http_headers *headers;
|
||
|
int http_status;
|
||
|
transfer_encoding_t transfer_encoding;
|
||
|
};
|
||
|
|
||
|
LI_API void response_init(response *resp);
|
||
|
LI_API void response_reset(response *resp);
|
||
|
LI_API void response_clear(response *resp);
|
||
|
|
||
|
LI_API void response_send_headers(server *srv, connection *con);
|
||
|
|
||
|
#endif
|