summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/cvs.h
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-07-14 04:32:43 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2004-07-14 04:32:43 +0000
commite50948c9306a05c3b76b19bf20e0921b2fe4112e (patch)
treeea787e5a736911d768d52ae954100e197f9e3cf7 /usr.bin/cvs/cvs.h
parent5aa981b28e91c86c90f78babe6c3a32effc92e72 (diff)
prepare the entries interface so we can add entries
Diffstat (limited to 'usr.bin/cvs/cvs.h')
-rw-r--r--usr.bin/cvs/cvs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/cvs.h b/usr.bin/cvs/cvs.h
index dff9c9f95ce..73240386801 100644
--- a/usr.bin/cvs/cvs.h
+++ b/usr.bin/cvs/cvs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cvs.h,v 1.2 2004/07/14 03:33:09 jfb Exp $ */
+/* $OpenBSD: cvs.h,v 1.3 2004/07/14 04:32:42 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -262,6 +262,7 @@ struct cvs_ent {
typedef struct cvs_entries {
char *cef_path;
+ FILE *cef_file;
u_int cef_nid; /* next entry index to return for next() */
@@ -354,7 +355,7 @@ void cvs_file_free (char **, int);
/* Entries API */
-CVSENTRIES* cvs_ent_open (const char *);
+CVSENTRIES* cvs_ent_open (const char *, int);
struct cvs_ent* cvs_ent_get (CVSENTRIES *, const char *);
struct cvs_ent* cvs_ent_next (CVSENTRIES *);
int cvs_ent_add (CVSENTRIES *, struct cvs_ent *);