diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2006-05-27 15:14:28 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2006-05-27 15:14:28 +0000 |
commit | d860a2dff9e1047c5a25a0814519187895502814 (patch) | |
tree | 78a6e72fc165428e8319793e4fd9a26c2c0c5693 /usr.bin/cvs/cvs.h | |
parent | 2e00d298c34bcede7950f4cc2e5c7ea7e2a4b416 (diff) |
allow commands to respect the -l flag, if the -l flag is
specified certain commands will not recurse into directories.
at the same time introduce a method of specifying wether or not
a command should look in the repository for files.
Diffstat (limited to 'usr.bin/cvs/cvs.h')
-rw-r--r-- | usr.bin/cvs/cvs.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/cvs/cvs.h b/usr.bin/cvs/cvs.h index 22e471ed8da..d0bda653934 100644 --- a/usr.bin/cvs/cvs.h +++ b/usr.bin/cvs/cvs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cvs.h,v 1.105 2006/05/27 05:20:25 joris Exp $ */ +/* $OpenBSD: cvs.h,v 1.106 2006/05/27 15:14:27 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -158,8 +158,13 @@ struct cvs_recursion { void (*leavedir)(struct cvs_file *); void (*local)(struct cvs_file *); void (*remote)(struct cvs_file *, struct cvsroot *); + int flags; }; +#define CR_RECURSE_DIRS 0x01 +#define CR_ATTIC 0x02 +#define CR_REPO 0x04 + struct cvs_var { char *cv_name; char *cv_val; |