From 3cb9d64b9b2ace1463f274c8554bffbfa4979e0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=A4rdeman?= Date: Fri, 18 May 2007 23:48:55 +0200 Subject: Split meta entry functions into a separate file --- metaentry.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 metaentry.h (limited to 'metaentry.h') diff --git a/metaentry.h b/metaentry.h new file mode 100644 index 0000000..dfc43cb --- /dev/null +++ b/metaentry.h @@ -0,0 +1,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)); + + -- cgit v1.2.1