Split meta entry functions into a separate file
[metastore.git] / metaentry.h
blobdfc43cb09570c54a08ea7a3b70f00aaa460a3a09
1 void mentries_recurse_path(const char *, struct metaentry **);
2 void mentries_tofile(const struct metaentry *, const char *);
3 void mentries_fromfile(struct metaentry **, const char *);
4 int mentry_find_xattr(struct metaentry *, struct metaentry *, int);
6 #define DIFF_NONE 0x00
7 #define DIFF_OWNER 0x01
8 #define DIFF_GROUP 0x02
9 #define DIFF_MODE 0x04
10 #define DIFF_TYPE 0x08
11 #define DIFF_MTIME 0x10
12 #define DIFF_XATTR 0x20
13 #define DIFF_ADDED 0x40
14 #define DIFF_DELE 0x80
15 void mentries_compare(struct metaentry *, struct metaentry *,
16 void (*printfunc)(struct metaentry *, struct metaentry *, int));