root/trunk/src/etag.h

Revision 2245, 384 bytes (checked in by stbuehler, 5 weeks ago)

merged from @1874: add ETag configuration (#1442)

  • Property svn:eol-style set to native
Line 
1#ifndef ETAG_H
2#define ETAG_H
3
4#include <sys/types.h>
5#include <sys/stat.h>
6
7#include "buffer.h"
8
9typedef enum { ETAG_USE_INODE = 1, ETAG_USE_MTIME = 2, ETAG_USE_SIZE = 4 } etag_flags_t;
10
11LI_API int etag_is_equal(buffer *etag, const char *matches);
12LI_API int etag_create(buffer *etag, struct stat *st, etag_flags_t flags);
13LI_API int etag_mutate(buffer *mut, buffer *etag);
14
15
16#endif
Note: See TracBrowser for help on using the browser.