summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/file.h
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-05-20 05:13:45 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-05-20 05:13:45 +0000
commit92227c2873d2aa52cc72cac6ba11491f2ca43785 (patch)
tree882a1bd003526e597fff3b8ed9fe90a9bd50f95d /usr.bin/cvs/file.h
parent953436ae010ef8b64f902cafa1e45d52112eb747 (diff)
execute the command callback at the same time we are building
the in-memory filelist. cuts down on execution time for larger trees. "put it in!" jfb@
Diffstat (limited to 'usr.bin/cvs/file.h')
-rw-r--r--usr.bin/cvs/file.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/file.h b/usr.bin/cvs/file.h
index f26e4f73ca1..f610ca3c93d 100644
--- a/usr.bin/cvs/file.h
+++ b/usr.bin/cvs/file.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.h,v 1.18 2005/05/12 23:35:42 joris Exp $ */
+/* $OpenBSD: file.h,v 1.19 2005/05/20 05:13:44 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -129,8 +129,8 @@ typedef struct cvs_file {
int cvs_file_init (void);
int cvs_file_ignore (const char *);
int cvs_file_chkign (const char *);
-CVSFILE* cvs_file_get (const char *, int);
-CVSFILE* cvs_file_getspec (char **, int, int);
+CVSFILE* cvs_file_get (const char *, int, int (*)(CVSFILE *, void *), void *);
+CVSFILE* cvs_file_getspec (char **, int, int, int (*)(CVSFILE *, void *), void *);
CVSFILE* cvs_file_create (CVSFILE *, const char *, u_int, mode_t);
CVSFILE* cvs_file_copy (CVSFILE *);
CVSFILE* cvs_file_find (CVSFILE *, const char *);