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

22 lines
539 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 liResponse {
liHttpHeaders *headers;
gint http_status;
liTransferEncoding transfer_encoding;
2008-08-06 18:46:42 +00:00
};
2009-07-09 20:17:24 +00:00
LI_API void li_response_init(liResponse *resp);
LI_API void li_response_reset(liResponse *resp);
LI_API void li_response_clear(liResponse *resp);
2008-08-06 18:46:42 +00:00
2009-09-08 17:09:08 +00:00
LI_API gboolean li_response_send_headers(liConnection *con);
2009-07-09 20:17:24 +00:00
LI_API void li_response_send_error_page(liConnection *con);
2008-08-06 18:46:42 +00:00
#endif