diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-05-20 05:13:45 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-05-20 05:13:45 +0000 |
commit | 92227c2873d2aa52cc72cac6ba11491f2ca43785 (patch) | |
tree | 882a1bd003526e597fff3b8ed9fe90a9bd50f95d /usr.bin/cvs/file.h | |
parent | 953436ae010ef8b64f902cafa1e45d52112eb747 (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.h | 6 |
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 *); |