summaryrefslogtreecommitdiff
path: root/metaentry.h
blob: dfc43cb09570c54a08ea7a3b70f00aaa460a3a09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
void mentries_recurse_path(const char *, struct metaentry **);
void mentries_tofile(const struct metaentry *, const char *);
void mentries_fromfile(struct metaentry **, const char *);
int mentry_find_xattr(struct metaentry *, struct metaentry *, int);

#define DIFF_NONE  0x00
#define DIFF_OWNER 0x01
#define DIFF_GROUP 0x02
#define DIFF_MODE  0x04
#define DIFF_TYPE  0x08
#define DIFF_MTIME 0x10
#define DIFF_XATTR 0x20
#define DIFF_ADDED 0x40
#define DIFF_DELE  0x80
void mentries_compare(struct metaentry *, struct metaentry *,
        void (*printfunc)(struct metaentry *, struct metaentry *, int));