summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcs.h
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2005-04-19 19:22:32 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2005-04-19 19:22:32 +0000
commit9321b623276fb2c1e254bb9c9a360e3f5f0f133b (patch)
tree1c11e63cf87cda6f53d04ad035a597e58ea2ef0f /usr.bin/cvs/rcs.h
parent3c5a45320372654a01cd07b83845dd39dcd5eb29 (diff)
add rcs_sym_check() to check the validity of an RCS symbol and
sprinkle some in the other symbol functions
Diffstat (limited to 'usr.bin/cvs/rcs.h')
-rw-r--r--usr.bin/cvs/rcs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/rcs.h b/usr.bin/cvs/rcs.h
index 3b66a8b28b6..80bab8b715d 100644
--- a/usr.bin/cvs/rcs.h
+++ b/usr.bin/cvs/rcs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.h,v 1.21 2005/04/13 15:50:49 jfb Exp $ */
+/* $OpenBSD: rcs.h,v 1.22 2005/04/19 19:22:31 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -96,6 +96,8 @@
#define RCS_ERR_NOENT 1
#define RCS_ERR_DUPENT 2
#define RCS_ERR_BADNUM 3
+#define RCS_ERR_BADSYM 4
+#define RCS_ERR_PARSE 5
typedef struct rcs_num {
@@ -188,6 +190,7 @@ int rcs_access_check (RCSFILE *, const char *);
int rcs_sym_add (RCSFILE *, const char *, RCSNUM *);
int rcs_sym_remove (RCSFILE *, const char *);
RCSNUM* rcs_sym_getrev (RCSFILE *, const char *);
+int rcs_sym_check (const char *);
int rcs_lock_getmode (RCSFILE *);
int rcs_lock_setmode (RCSFILE *, int);
int rcs_lock_add (RCSFILE *, const char *, RCSNUM *);