summaryrefslogtreecommitdiff
path: root/arm9/source/types/readbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/source/types/readbuf.h')
-rw-r--r--arm9/source/types/readbuf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arm9/source/types/readbuf.h b/arm9/source/types/readbuf.h
new file mode 100644
index 0000000..9077a69
--- /dev/null
+++ b/arm9/source/types/readbuf.h
@@ -0,0 +1,14 @@
+#include <nds.h>
+
+#ifndef READBUF_H_
+ #define READBUF_H_
+
+ typedef struct {
+ u8 *mem;
+ u8 p;
+ } ReadBuf;
+
+ u8 rb_read(ReadBuf *buf);
+ void rb_reset(ReadBuf *buf);
+
+#endif