version 1.1.1.1, 2013/10/14 10:32:47
|
version 1.1.1.2, 2016/11/02 10:35:00
|
Line 1
|
Line 1
|
#ifndef ETAG_H |
#ifndef ETAG_H |
#define ETAG_H |
#define ETAG_H |
|
#include "first.h" |
|
|
#include "buffer.h" |
#include "buffer.h" |
|
|
Line 9
|
Line 10
|
|
|
typedef enum { ETAG_USE_INODE = 1, ETAG_USE_MTIME = 2, ETAG_USE_SIZE = 4 } etag_flags_t; |
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 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_create(buffer *etag, struct stat *st, etag_flags_t flags); |
int etag_mutate(buffer *mut, buffer *etag); |
int etag_mutate(buffer *mut, buffer *etag); |
|
|