From 9e4dcccbf2f12745e41f9a3bae2333bb0b9ad1a8 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Thu, 12 May 2005 23:35:43 +0000 Subject: 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@ --- usr.bin/cvs/file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/cvs/file.h') 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 * 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 -- cgit v1.2.3