summaryrefslogtreecommitdiff
path: root/metaentry.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2007-05-18 23:48:55 +0200
committerDavid Härdeman <david@hardeman.nu>2007-05-18 23:48:55 +0200
commit3cb9d64b9b2ace1463f274c8554bffbfa4979e0d (patch)
tree79b570d8ed8ba30e619921d079ea8fd9b362f3fd /metaentry.h
parent3b9fa8b3619f0ef0ddd47efa6ab285682b686af1 (diff)
Split meta entry functions into a separate file
Diffstat (limited to 'metaentry.h')
-rw-r--r--metaentry.h18
1 files changed, 18 insertions, 0 deletions
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));
+
+