summaryrefslogtreecommitdiff
path: root/inc/pack.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/pack.h')
-rw-r--r--inc/pack.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/pack.h b/inc/pack.h
new file mode 100644
index 0000000..d04d6ca
--- /dev/null
+++ b/inc/pack.h
@@ -0,0 +1,10 @@
+#ifndef PACK_H
+#define PACK_H
+
+#include <stdio.h>
+
+/* reads a teeworlds packed int from given buffer */
+/* the given pointer is incremented */
+int readint(unsigned char **cp);
+
+#endif // PACK_H