Annotation of embedaddon/lighttpd/src/etag.h, revision 1.1.1.2
1.1 misho 1: #ifndef ETAG_H
2: #define ETAG_H
1.1.1.2 ! misho 3: #include "first.h"
1.1 misho 4:
5: #include "buffer.h"
6:
7: #include <sys/types.h>
8: #include <sys/stat.h>
9: #include <unistd.h>
10:
11: typedef enum { ETAG_USE_INODE = 1, ETAG_USE_MTIME = 2, ETAG_USE_SIZE = 4 } etag_flags_t;
12:
1.1.1.2 ! misho 13: int etag_is_equal(buffer *etag, const char *matches, int weak_ok);
1.1 misho 14: int etag_create(buffer *etag, struct stat *st, etag_flags_t flags);
15: int etag_mutate(buffer *mut, buffer *etag);
16:
17:
18: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>