Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
msgbuf.h
Go to the documentation of this file.
1#ifndef METROTRK_PORTABLE_MSGBUF_H
2#define METROTRK_PORTABLE_MSGBUF_H
3
4#include "trk.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
11void* TRKGetBuffer(int);
12void TRKResetBuffer(TRKBuffer* msg, BOOL keepData);
13
17
18DSError TRKAppendBuffer_ui8(TRKBuffer* buffer, const u8* data, int count);
20DSError TRKAppendBuffer_ui32(TRKBuffer* buffer, const u32* data, int count);
22
27
28DSError TRKReadBuffer_ui8(TRKBuffer* buffer, u8* data, int count);
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif /* METROTRK_PORTABLE_MSGBUF_H */
static OSTime buffer
Definition ai.c:24
int BOOL
Definition types.h:33
unsigned long u32
Definition types.h:12
unsigned short int u16
Definition types.h:10
unsigned long long int u64
Definition types.h:14
unsigned char u8
Definition types.h:8
DSError TRKReadBuffer_ui8(TRKBuffer *buffer, u8 *data, int count)
Definition msgbuf.c:291
DSError TRKAppendBuffer_ui64(TRKBuffer *buffer, const u64 *data, int count)
DSError TRKAppendBuffer1_ui64(TRKBuffer *buffer, const u64 data)
Definition msgbuf.c:183
void * TRKGetBuffer(int)
Definition msgbuf.c:52
DSError TRKSetBufferPosition(TRKBuffer *msg, u32 pos)
Definition msgbuf.c:80
DSError TRKReadBuffer1_ui8(TRKBuffer *buffer, u8 *data)
Definition msgbuf.c:228
DSError TRKAppendBuffer1_ui32(TRKBuffer *buffer, const u32 data)
Definition msgbuf.c:163
void TRKResetBuffer(TRKBuffer *msg, BOOL keepData)
Definition msgbuf.c:71
DSError TRKAppendBuffer_ui16(TRKBuffer *buffer, const u16 *data, int count)
DSError TRKReadBuffer_ui64(TRKBuffer *buffer, u64 *data, int count)
DSError TRKAppendBuffer1_ui16(TRKBuffer *buffer, const u16 data)
DSError TRKReadBuffer1_ui32(TRKBuffer *buffer, u32 *data)
Definition msgbuf.c:232
DSError TRKReadBuffer1_ui16(TRKBuffer *buffer, u16 *data)
DSError TRKReadBuffer1_ui64(TRKBuffer *buffer, u64 *data)
Definition msgbuf.c:260
DSError TRKAppendBuffer_ui32(TRKBuffer *buffer, const u32 *data, int count)
Definition msgbuf.c:217
DSError TRKReadBuffer_ui16(TRKBuffer *buffer, u16 *data, int count)
DSError TRKAppendBuffer_ui8(TRKBuffer *buffer, const u8 *data, int count)
Definition msgbuf.c:206
DSError TRKReadBuffer_ui32(TRKBuffer *buffer, u32 *data, int count)
Definition msgbuf.c:302
Definition trk.h:203
DSError
Definition trk.h:19