2
0
Fork 0
lighttpd2/include/lighttpd/response.h

22 lines
508 B
C
Raw Normal View History

2008-08-06 18:46:42 +00:00
#ifndef _LIGHTTPD_RESPONSE_H_
#define _LIGHTTPD_RESPONSE_H_
#ifndef _LIGHTTPD_BASE_H_
#error Please include <lighttpd/base.h> instead of this file
#endif
2008-08-06 18:46:42 +00:00
struct response {
http_headers *headers;
gint http_status;
2008-08-06 18:46:42 +00:00
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(connection *con);
2008-10-02 15:38:57 +00:00
LI_API void response_send_error_page(connection *con);
2008-08-06 18:46:42 +00:00
#endif