summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/file.h
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-05-12 23:35:43 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-05-12 23:35:43 +0000
commit9e4dcccbf2f12745e41f9a3bae2333bb0b9ad1a8 (patch)
treeb816f23dde962b6b6e927bef0b00eae300543a47 /usr.bin/cvs/file.h
parentbc23ea8f24a2883297a2697900d186de7ee4ddfd (diff)
introduce a new flag to the file api: CF_NOFILES, which allows us
to only load directories and skip regular files. tested and ok xsa@
Diffstat (limited to 'usr.bin/cvs/file.h')
-rw-r--r--usr.bin/cvs/file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/file.h b/usr.bin/cvs/file.h
index a8ac1103db2..f26e4f73ca1 100644
--- a/usr.bin/cvs/file.h
+++ b/usr.bin/cvs/file.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.h,v 1.17 2005/04/25 21:58:32 joris Exp $ */
+/* $OpenBSD: file.h,v 1.18 2005/05/12 23:35:42 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -49,7 +49,7 @@ struct cvs_entries;
#define CF_CREATE 0x20 /* create if file does not exist */
#define CF_MKADMIN 0x40 /* create administrative files if they're missing */
#define CF_NOSYMS 0x80 /* ignore symbolic links */
-
+#define CF_NOFILES 0x100 /* don't load any files inside a directory */
/*
* The cvs_file structure is used to represent any file or directory within