diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-03-13 22:07:50 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2005-03-13 22:07:50 +0000 |
commit | d94ef2b74c348f009c17d631e2517b50c19d51c2 (patch) | |
tree | 1b4e9f195de43d5a67c58452f9a9ecdca85ab937 /usr.bin/cvs/rcs.h | |
parent | 5a95a46e64448648fbbd7489b46fe30548eaca3f (diff) |
support for the optional `branch' keyword, which is used to set the
default branch for an RCS file
Diffstat (limited to 'usr.bin/cvs/rcs.h')
-rw-r--r-- | usr.bin/cvs/rcs.h | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/usr.bin/cvs/rcs.h b/usr.bin/cvs/rcs.h index 6c623a8e719..e4fa8caf83c 100644 --- a/usr.bin/cvs/rcs.h +++ b/usr.bin/cvs/rcs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.h,v 1.15 2005/03/05 18:25:30 jfb Exp $ */ +/* $OpenBSD: rcs.h,v 1.16 2005/03/13 22:07:49 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -169,26 +169,28 @@ typedef struct rcs_file { extern int rcs_errno; -RCSFILE* rcs_open (const char *, int, ...); -void rcs_close (RCSFILE *); -int rcs_access_add (RCSFILE *, const char *); -int rcs_access_remove (RCSFILE *, const char *); -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_lock_getmode (RCSFILE *); -int rcs_lock_setmode (RCSFILE *, int); -BUF* rcs_getrev (RCSFILE *, RCSNUM *); -BUF* rcs_gethead (RCSFILE *); -RCSNUM* rcs_getrevbydate (RCSFILE *, struct tm *); -const char* rcs_desc_get (RCSFILE *); -int rcs_desc_set (RCSFILE *, const char *); -const char* rcs_comment_get (RCSFILE *); -int rcs_comment_set (RCSFILE *, const char *); -int rcs_kwexp_set (RCSFILE *, int); -int rcs_kwexp_get (RCSFILE *); -const char* rcs_errstr (int); +RCSFILE* rcs_open (const char *, int, ...); +void rcs_close (RCSFILE *); +const RCSNUM* rcs_branch_get (RCSFILE *); +int rcs_branch_set (RCSFILE *, const RCSNUM *); +int rcs_access_add (RCSFILE *, const char *); +int rcs_access_remove (RCSFILE *, const char *); +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_lock_getmode (RCSFILE *); +int rcs_lock_setmode (RCSFILE *, int); +BUF* rcs_getrev (RCSFILE *, RCSNUM *); +BUF* rcs_gethead (RCSFILE *); +RCSNUM* rcs_getrevbydate (RCSFILE *, struct tm *); +const char* rcs_desc_get (RCSFILE *); +int rcs_desc_set (RCSFILE *, const char *); +const char* rcs_comment_get (RCSFILE *); +int rcs_comment_set (RCSFILE *, const char *); +int rcs_kwexp_set (RCSFILE *, int); +int rcs_kwexp_get (RCSFILE *); +const char* rcs_errstr (int); int rcs_kflag_get (const char *); void rcs_kflag_usage (void); |