summaryrefslogtreecommitdiffstats
path: root/v17tcm.h
diff options
context:
space:
mode:
Diffstat (limited to 'v17tcm.h')
-rw-r--r--v17tcm.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/v17tcm.h b/v17tcm.h
new file mode 100644
index 0000000..f126714
--- /dev/null
+++ b/v17tcm.h
@@ -0,0 +1,15 @@
+#ifndef foov17tcmhfoo
+#define foov17tcmhfoo
+
+#include <inttypes.h>
+
+struct v17tcm_state {
+ uint8_t y, c1, c2, c3;
+};
+
+void v17tcm_init(struct v17tcm_state *s);
+
+uint8_t v17tcm_encode(struct v17tcm_state* s, uint8_t input);
+uint8_t v17tcm_decode(struct v17tcm_state *s, uint8_t input);
+
+#endif