2009-03-17 17:22:59 +00:00
|
|
|
#ifndef _LIGHTTPD_ETAG_H_
|
|
|
|
#define _LIGHTTPD_ETAG_H_
|
|
|
|
|
|
|
|
#ifndef _LIGHTTPD_BASE_H_
|
|
|
|
#error Please include <lighttpd/base.h> instead of this file
|
|
|
|
#endif
|
|
|
|
|
2009-07-09 20:17:24 +00:00
|
|
|
LI_API tristate_t li_http_response_handle_cachable_etag(liVRequest *vr, GString *etag);
|
|
|
|
LI_API tristate_t li_http_response_handle_cachable_modified(liVRequest *vr, GString *last_modified);
|
2009-09-29 09:46:40 +00:00
|
|
|
LI_API gboolean li_http_response_handle_cachable(liVRequest *vr);
|
2009-03-17 17:22:59 +00:00
|
|
|
|
|
|
|
/* mut maybe the same as etag */
|
2009-07-09 20:17:24 +00:00
|
|
|
LI_API void li_etag_mutate(GString *mut, GString *etag);
|
|
|
|
LI_API void li_etag_set_header(liVRequest *vr, struct stat *st, gboolean *cachable);
|
2009-03-17 17:22:59 +00:00
|
|
|
|
|
|
|
#endif
|