remove excess calls to joblist_append()
[lighttpd.git] / src / response.h
blob3302f3e263c3fa68a1c0fef397647c0b80d8bb0a
1 #ifndef _RESPONSE_H_
2 #define _RESPONSE_H_
3 #include "first.h"
5 #include "server.h"
7 #include <time.h>
9 int http_response_parse(server *srv, connection *con);
10 int http_response_write_header(server *srv, connection *con);
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);
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);
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);
24 buffer * strftime_cache_get(server *srv, time_t last_mod);
25 #endif