--- embedaddon/lighttpd/src/etag.h 2013/10/14 10:32:47 1.1.1.1 +++ embedaddon/lighttpd/src/etag.h 2016/11/02 10:35:00 1.1.1.2 @@ -1,5 +1,6 @@ #ifndef ETAG_H #define ETAG_H +#include "first.h" #include "buffer.h" @@ -9,7 +10,7 @@ typedef enum { ETAG_USE_INODE = 1, ETAG_USE_MTIME = 2, ETAG_USE_SIZE = 4 } etag_flags_t; -int etag_is_equal(buffer *etag, const char *matches); +int etag_is_equal(buffer *etag, const char *matches, int weak_ok); int etag_create(buffer *etag, struct stat *st, etag_flags_t flags); int etag_mutate(buffer *mut, buffer *etag);