|
|
|
@ -8,8 +8,8 @@ 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_is_equal(const buffer *etag, const char *matches, int weak_ok);
|
|
|
|
|
int etag_create(buffer *etag, const struct stat *st, etag_flags_t flags);
|
|
|
|
|
int etag_mutate(buffer *mut, buffer *etag);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|