the upcoming 2.0 version
https://redmine.lighttpd.net/projects/lighttpd2
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
539 B
21 lines
539 B
#ifndef _LIGHTTPD_RESPONSE_H_ |
|
#define _LIGHTTPD_RESPONSE_H_ |
|
|
|
#ifndef _LIGHTTPD_BASE_H_ |
|
#error Please include <lighttpd/base.h> instead of this file |
|
#endif |
|
|
|
struct liResponse { |
|
liHttpHeaders *headers; |
|
gint http_status; |
|
liTransferEncoding transfer_encoding; |
|
}; |
|
|
|
LI_API void li_response_init(liResponse *resp); |
|
LI_API void li_response_reset(liResponse *resp); |
|
LI_API void li_response_clear(liResponse *resp); |
|
|
|
LI_API gboolean li_response_send_headers(liConnection *con); |
|
LI_API void li_response_send_error_page(liConnection *con); |
|
|
|
#endif
|
|
|