2 Copyright (C) 1995-2011, The AROS Development Team. All rights reserved.
10 #include <exec/types.h>
15 ULONG len
; /* write position */
16 ULONG cur
; /* read position */
17 ULONG mem
; /* allocated memory */
20 LONG
bufferAppend(STRPTR str
, ULONG size
, Buffer
*out
, APTR SysBase
);
21 LONG
bufferInsert(STRPTR str
, ULONG size
, Buffer
*out
, APTR SysBase
);
23 /* read 'size' chars from 'in' and append them to 'out' */
24 LONG
bufferCopy(Buffer
*in
, Buffer
*out
, ULONG size
, APTR SysBase
);
26 void bufferFree(Buffer
*b
, APTR SysBase
);
28 LONG
bufferReadItem(STRPTR buf
, ULONG size
, Buffer
*in
, APTR DOSBase
);
30 void bufferReset(Buffer
*b
);