aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make/buf.h
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2005-03-22 07:42:51 +0000
committerHartmut Brandt <harti@FreeBSD.org>2005-03-22 07:42:51 +0000
commit9668c011e9174bf045e241ab666df992a765650e (patch)
tree00de8b941375c54579520e916e38bdfcf3e87560 /usr.bin/make/buf.h
parentebf3f2a194155ad485f89888de61578c158440e6 (diff)
Notes
Diffstat (limited to 'usr.bin/make/buf.h')
-rw-r--r--usr.bin/make/buf.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/usr.bin/make/buf.h b/usr.bin/make/buf.h
index 868acb783400..0ff54d9d4d6b 100644
--- a/usr.bin/make/buf.h
+++ b/usr.bin/make/buf.h
@@ -76,16 +76,17 @@ typedef struct Buffer {
void Buf_AddByte(Buffer *, Byte);
void Buf_AddBytes(Buffer *, size_t, const Byte *);
-Byte *Buf_GetAll(Buffer *, size_t *);
+void Buf_Append(Buffer *, const char []);
+void Buf_AppendBuf(Buffer *, const Buffer *);
+void Buf_AppendRange(Buffer *, const char [], const char *);
void Buf_Clear(Buffer *);
-size_t Buf_Size(const Buffer *);
-Buffer *Buf_Init(size_t);
+char *Buf_Data(const Buffer *);
void Buf_Destroy(Buffer *, Boolean);
-void Buf_ReplaceLastByte(Buffer *, Byte);
+Byte *Buf_GetAll(Buffer *, size_t *);
+Buffer *Buf_Init(size_t);
char *Buf_Peel(Buffer *);
-
-void Buf_Append(Buffer *, const char []);
-void Buf_AppendRange(Buffer *, const char [], const char *);
+void Buf_ReplaceLastByte(Buffer *, Byte);
+size_t Buf_Size(const Buffer *);
void Buf_StripNewlines(Buffer *);
#endif /* buf_h_a61a6812 */