diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-07-06 15:36:53 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-07-06 15:36:53 +0000 |
commit | 5eefc13ef24936a1eca7a13089cadd5187c275cf (patch) | |
tree | 6596e21da24f7f97e762f2cfe60993ca0a7738b0 /usr.bin/rcs/buf.h | |
parent | e3a67e680509895a71b8ada1baf56dcdc4f14015 (diff) |
Replace the keyword expansion code with a faster, more readable version
which additionally also supports $Log$ and $Locker. Written by Joerg
Sonnenberger and tweaked by me.
ok ray
Diffstat (limited to 'usr.bin/rcs/buf.h')
-rw-r--r-- | usr.bin/rcs/buf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/rcs/buf.h b/usr.bin/rcs/buf.h index b675ec77d8d..f05e7e8d991 100644 --- a/usr.bin/rcs/buf.h +++ b/usr.bin/rcs/buf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: buf.h,v 1.12 2011/03/27 18:20:14 jasper Exp $ */ +/* $OpenBSD: buf.h,v 1.13 2011/07/06 15:36:52 nicm Exp $ */ /* * Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -50,9 +50,11 @@ u_char buf_getc(BUF *, size_t); void buf_empty(BUF *); size_t buf_append(BUF *, const void *, size_t); void buf_putc(BUF *, int); +void buf_puts(BUF *b, const char *str); size_t buf_len(BUF *); int buf_write_fd(BUF *, int); int buf_write(BUF *, const char *, mode_t); void buf_write_stmp(BUF *, char *); u_char *buf_get(BUF *b); + #endif /* BUF_H */ |