aboutsummaryrefslogtreecommitdiff
path: root/src/lib/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/mem.h')
-rw-r--r--src/lib/mem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/mem.h b/src/lib/mem.h
index 4d02236..ec1402f 100644
--- a/src/lib/mem.h
+++ b/src/lib/mem.h
@@ -1,6 +1,12 @@
#ifndef LIB_MEM_H
#define LIB_MEM_H
+struct MemTab {
+ unsigned char size;
+ unsigned char in_use;
+ void* data;
+} __attribute__((packed));
+
void memcpy(unsigned char* src, unsigned char* dest, unsigned int n);
unsigned char memcmp(unsigned char* a, unsigned char* b, unsigned int n);