summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcs.h
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-11-02 20:32:46 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-11-02 20:32:46 +0000
commit9e6470e2cda5118e944b714dc3e2ffc2016556e3 (patch)
treef0a7833c7a4f38ccda1f1706b5d33999802679e2 /usr.bin/cvs/rcs.h
parent821ffc7bebfd34488198714ae269661ed9d1a106 (diff)
changes from Venice:
- instead of using lots of individual flag variables, use a single int and bitwise operations on it. while this saves memory, really it saves code space and reduces complexity. checkout_rev() and checkout_state() in particular benefit from these changes since their parameters where growing really long. - implement `-s' option in co - implement `-M' option in ci "I like this, go for it" joris@
Diffstat (limited to 'usr.bin/cvs/rcs.h')
-rw-r--r--usr.bin/cvs/rcs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cvs/rcs.h b/usr.bin/cvs/rcs.h
index 0d09dd6e773..19c2c592397 100644
--- a/usr.bin/cvs/rcs.h
+++ b/usr.bin/cvs/rcs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.h,v 1.37 2005/10/29 19:05:50 niallo Exp $ */
+/* $OpenBSD: rcs.h,v 1.38 2005/11/02 20:32:44 niallo Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -211,9 +211,11 @@ int rcs_kwexp_set(RCSFILE *, int);
int rcs_kwexp_get(RCSFILE *);
int rcs_rev_add(RCSFILE *, RCSNUM *, const char *, time_t,
const char *);
+time_t rcs_rev_getdate(RCSFILE *, RCSNUM *);
int rcs_rev_setlog(RCSFILE *, RCSNUM *, const char *);
int rcs_rev_remove(RCSFILE *, RCSNUM *);
int rcs_state_set(RCSFILE *, RCSNUM *, const char *);
+const char *rcs_state_get(RCSFILE *, RCSNUM *);
int rcs_state_check(const char *);
RCSNUM *rcs_tag_resolve(RCSFILE *, const char *);
const char *rcs_errstr(int);