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
508 B
C
22 lines
508 B
C
15 years ago
|
#ifndef _LIGHTTPD_RESPONSE_H_
|
||
|
#define _LIGHTTPD_RESPONSE_H_
|
||
|
|
||
15 years ago
|
#ifndef _LIGHTTPD_BASE_H_
|
||
15 years ago
|
#error Please include <lighttpd/base.h> instead of this file
|
||
15 years ago
|
#endif
|
||
15 years ago
|
|
||
|
struct response {
|
||
|
http_headers *headers;
|
||
![]()
15 years ago
|
gint http_status;
|
||
15 years ago
|
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);
|
||
|
|
||
15 years ago
|
LI_API void response_send_headers(connection *con);
|
||
![]()
15 years ago
|
LI_API void response_send_error_page(connection *con);
|
||
15 years ago
|
|
||
|
#endif
|