Annotation of embedaddon/lighttpd/src/response.h, revision 1.1.1.2
1.1 misho 1: #ifndef _RESPONSE_H_
2: #define _RESPONSE_H_
1.1.1.2 ! misho 3: #include "first.h"
1.1 misho 4:
5: #include "server.h"
6:
7: #include <time.h>
8:
9: int http_response_parse(server *srv, connection *con);
10: int http_response_write_header(server *srv, connection *con);
11:
12: int response_header_insert(server *srv, connection *con, const char *key, size_t keylen, const char *value, size_t vallen);
13: int response_header_overwrite(server *srv, connection *con, const char *key, size_t keylen, const char *value, size_t vallen);
14: int response_header_append(server *srv, connection *con, const char *key, size_t keylen, const char *value, size_t vallen);
15:
16: handler_t http_response_prepare(server *srv, connection *con);
17: int http_response_redirect_to_directory(server *srv, connection *con);
18: int http_response_handle_cachable(server *srv, connection *con, buffer * mtime);
1.1.1.2 ! misho 19: void http_response_send_file (server *srv, connection *con, buffer *path);
! 20: void http_response_xsendfile (server *srv, connection *con, buffer *path, const array *xdocroot);
! 21: void http_response_backend_done (server *srv, connection *con);
! 22: void http_response_backend_error (server *srv, connection *con);
1.1 misho 23:
24: buffer * strftime_cache_get(server *srv, time_t last_mod);
25: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>