diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-12-16 17:16:19 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-12-16 17:16:19 +0000 |
commit | 13c1cb9b7af96bbfafa2bd70425a37d0114c9e70 (patch) | |
tree | 997943494dce4641e92f63d26877bc0b4fc57dad /usr.bin/cvs/rcs.h | |
parent | 45c14a0e694701b6ce1d3f6522651196bdef9297 (diff) |
Add rcs_gethead() to easily retrieve the head revision of an RCS
file.
Diffstat (limited to 'usr.bin/cvs/rcs.h')
-rw-r--r-- | usr.bin/cvs/rcs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/rcs.h b/usr.bin/cvs/rcs.h index d6ace23f5bd..2a1c17c3574 100644 --- a/usr.bin/cvs/rcs.h +++ b/usr.bin/cvs/rcs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.h,v 1.3 2004/12/15 05:09:06 jfb Exp $ */ +/* $OpenBSD: rcs.h,v 1.4 2004/12/16 17:16:18 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -131,6 +131,7 @@ int rcs_write (RCSFILE *); int rcs_addsym (RCSFILE *, const char *, RCSNUM *); int rcs_rmsym (RCSFILE *, const char *); BUF* rcs_getrev (RCSFILE *, RCSNUM *); +BUF* rcs_gethead (RCSFILE *); RCSNUM* rcs_getrevbydate (RCSFILE *, struct tm *); BUF* rcs_patch (const char *, const char *); |