diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2006-05-28 22:43:56 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2006-05-28 22:43:56 +0000 |
commit | b40f9ab72b387e9999bcc49b0aa2e9c95776f7b0 (patch) | |
tree | 5a582371940c3ae76c370cc7d03f610846e191db /usr.bin/cvs/buf.h | |
parent | 85a7c09af274739ece226ba92ca4316bdb4ea051 (diff) |
add a way to look if a buffer differs from another one
Diffstat (limited to 'usr.bin/cvs/buf.h')
-rw-r--r-- | usr.bin/cvs/buf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/buf.h b/usr.bin/cvs/buf.h index ddb9d850d48..708afc77423 100644 --- a/usr.bin/cvs/buf.h +++ b/usr.bin/cvs/buf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: buf.h,v 1.15 2006/05/27 03:30:30 joris Exp $ */ +/* $OpenBSD: buf.h,v 1.16 2006/05/28 22:43:55 joris Exp $ */ /* * Copyright (c) 2003 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -46,6 +46,7 @@ void cvs_buf_putc(BUF *, int); size_t cvs_buf_len(BUF *); int cvs_buf_write_fd(BUF *, int); int cvs_buf_write(BUF *, const char *, mode_t); +int cvs_buf_differ(BUF *, BUF *); void cvs_buf_write_stmp(BUF *, char *, mode_t, struct timeval *); ssize_t cvs_buf_copy(BUF *, size_t, void *, size_t); |