summaryrefslogtreecommitdiff
path: root/usr.sbin/mtree/mtree.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-08-10 02:33:47 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-08-10 02:33:47 +0000
commit5750940275ee45e548ad1a04573ecc745d6bb077 (patch)
tree796a18be9775928c677a6b28349a057627e43159 /usr.sbin/mtree/mtree.h
parent9dfada6aaa5bbdeae95706bad70116b9ea08fa7a (diff)
Add file flag support to mtree from henning@crackinghacking.de
with man page update and minor tweaks by me.
Diffstat (limited to 'usr.sbin/mtree/mtree.h')
-rw-r--r--usr.sbin/mtree/mtree.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/mtree/mtree.h b/usr.sbin/mtree/mtree.h
index f0f8a025140..7bcdf048b0d 100644
--- a/usr.sbin/mtree/mtree.h
+++ b/usr.sbin/mtree/mtree.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mtree.h,v 1.6 1997/07/18 05:46:13 millert Exp $ */
+/* $OpenBSD: mtree.h,v 1.7 2001/08/10 02:33:46 millert Exp $ */
/* $NetBSD: mtree.h,v 1.7 1995/03/07 21:26:27 cgd Exp $ */
/*-
@@ -59,6 +59,7 @@ typedef struct _node {
#define MBITS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
mode_t st_mode; /* mode */
nlink_t st_nlink; /* link count */
+ u_int32_t file_flags; /* file flags */
#define F_CKSUM 0x00001 /* check sum */
#define F_DONE 0x00002 /* directory done */
@@ -79,6 +80,7 @@ typedef struct _node {
#define F_UID 0x10000 /* uid */
#define F_UNAME 0x20000 /* user name */
#define F_VISIT 0x40000 /* file visited */
+#define F_FLAGS 0x80000 /* file flags */
u_int32_t flags; /* items set */
#define F_BLOCK 0x001 /* block special */