summaryrefslogtreecommitdiff
path: root/controller/fw/src/rslib.h
diff options
context:
space:
mode:
Diffstat (limited to 'controller/fw/src/rslib.h')
-rw-r--r--controller/fw/src/rslib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/controller/fw/src/rslib.h b/controller/fw/src/rslib.h
new file mode 100644
index 0000000..3ef6d19
--- /dev/null
+++ b/controller/fw/src/rslib.h
@@ -0,0 +1,9 @@
+#ifndef __RSLIB_H__
+#define __RSLIB_H__
+
+void rslib_encode(int nbits, size_t msglen, char msg[static msglen], char out[msglen + NPAR]);
+int rslib_decode(int nbits, size_t msglen, char msg_inout[static msglen]);
+int rslib_gexp(int z, int nbits);
+size_t rslib_npar();
+
+#endif /* __RSLIB_H__ */