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.
|
|
|
#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 void li_response_send_headers(liConnection *con);
|
|
|
|
LI_API void li_response_send_error_page(liConnection *con);
|
|
|
|
|
|
|
|
#endif
|