summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/file.h
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2009-02-21 12:47:20 +0000
committerJoris Vink <joris@cvs.openbsd.org>2009-02-21 12:47:20 +0000
commit9e0217ae3f5ccf1b95434dbc221c8edb438a937f (patch)
tree4708ab56b01b10aca05a8c8dd325666df334bbb6 /usr.bin/cvs/file.h
parentdac6585da85ede7d1e8305aac123241d4e15e186 (diff)
alter cvs_file_get() so it takes flags instead of one set
value for user_supplied. allow us to carry any important file flags over to cvs_file's later on. makes it easier for what i have coming.
Diffstat (limited to 'usr.bin/cvs/file.h')
-rw-r--r--usr.bin/cvs/file.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/cvs/file.h b/usr.bin/cvs/file.h
index d1a4c29c5ce..f220ad593b7 100644
--- a/usr.bin/cvs/file.h
+++ b/usr.bin/cvs/file.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.h,v 1.49 2008/06/13 17:15:13 joris Exp $ */
+/* $OpenBSD: file.h,v 1.50 2009/02/21 12:47:19 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
@@ -47,7 +47,6 @@ struct cvs_file {
int file_status;
int file_flags;
int in_attic;
- int user_supplied;
RCSNUM *file_rcsrev;
RCSFILE *file_rcs;
@@ -72,10 +71,12 @@ struct cvs_file {
#define FILE_SKIP 100
#define FILE_HAS_TAG 0x01
+#define FILE_USER_SUPPLIED 0x02
+#define FILE_INSIDE_ATTIC 0x04
struct cvs_filelist {
char *file_path;
- int user_supplied;
+ int flags;
TAILQ_ENTRY(cvs_filelist) flist;
};