lighttpd1.4/src/etag.h

17 lines
401 B
C
Raw Normal View History

#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(const buffer *etag, const char *matches, int weak_ok);
2019-11-16 01:26:54 +00:00
int etag_create(buffer *etag, const struct stat *st, int flags);
2019-12-05 08:16:25 +00:00
int etag_mutate(buffer *mut, const buffer *etag);
#endif