mirror of
https://github.com/ksherlock/gopher.git
synced 2024-12-21 06:29:39 +00:00
24 lines
546 B
C
24 lines
546 B
C
#ifndef __DATA_H__
|
|
#define __DATA_H__
|
|
|
|
#include <Types.h>
|
|
|
|
Handle DataCreate(Word MemID, Word initialSize);
|
|
Word DataReset(Handle h);
|
|
|
|
Word DataAppendChar(Handle h, char c);
|
|
|
|
Word DataAppendBytes(Handle h, const char *data, LongWord count);
|
|
|
|
Word DataAppendCString(Handle h, const char *s);
|
|
Word DataAppendPString(Handle h, const char *s);
|
|
Word DataAppendGSString(Handle h, const GSString255Ptr s);
|
|
|
|
LongWord DataSize(Handle h);
|
|
void *DataBytes(Handle h);
|
|
|
|
char *DataLock(Handle h, Word minSize);
|
|
void DataUnlock(Handle h, Word newSize);
|
|
|
|
#endif
|