summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/file.h
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2007-01-10 21:32:20 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2007-01-10 21:32:20 +0000
commit14899d471a3b44250f6241c866b38ffbbf28a757 (patch)
treeee297e5e0f9823d11f926561d6f052681a7e24cc /usr.bin/cvs/file.h
parentf3c59fc535b2eb9bf8d062ba91621b9acf916d51 (diff)
add a cvs_file_copy routine and use it for the edit command to
copy the file in the current working directory to CVS/Base/ ok ray@ joris@.
Diffstat (limited to 'usr.bin/cvs/file.h')
-rw-r--r--usr.bin/cvs/file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/file.h b/usr.bin/cvs/file.h
index 3fd5621d39d..c3c037fa54b 100644
--- a/usr.bin/cvs/file.h
+++ b/usr.bin/cvs/file.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.h,v 1.39 2007/01/06 17:09:08 xsa Exp $ */
+/* $OpenBSD: file.h,v 1.40 2007/01/10 21:32:19 xsa Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
@@ -105,6 +105,7 @@ struct cvs_filelist *cvs_file_get(const char *, struct cvs_flisthead *);
int cvs_file_chkign(const char *);
int cvs_file_cmpname(const char *, const char *);
int cvs_file_cmp(const char *, const char *);
+int cvs_file_copy(const char *, const char *);
struct cvs_file *cvs_file_get_cf(const char *, const char *, int, int);