diff options
Diffstat (limited to 'data/lighttpd/lighttpd-1.4.53/src/etag.h')
-rw-r--r-- | data/lighttpd/lighttpd-1.4.53/src/etag.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/data/lighttpd/lighttpd-1.4.53/src/etag.h b/data/lighttpd/lighttpd-1.4.53/src/etag.h new file mode 100644 index 000000000..cf0e38a98 --- /dev/null +++ b/data/lighttpd/lighttpd-1.4.53/src/etag.h @@ -0,0 +1,16 @@ +#ifndef ETAG_H +#define ETAG_H +#include "first.h" + +#include "buffer.h" + +struct stat; /* declaration */ + +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 weak_ok); +int etag_create(buffer *etag, struct stat *st, etag_flags_t flags); +int etag_mutate(buffer *mut, buffer *etag); + + +#endif |