aboutsummaryrefslogtreecommitdiff
path: root/testing/yup-comm/protocol/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'testing/yup-comm/protocol/data.h')
-rw-r--r--testing/yup-comm/protocol/data.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/yup-comm/protocol/data.h b/testing/yup-comm/protocol/data.h
new file mode 100644
index 0000000..a0b29db
--- /dev/null
+++ b/testing/yup-comm/protocol/data.h
@@ -0,0 +1,16 @@
+/* Author: Jan Sucan */
+
+#ifndef DATA_H_
+#define DATA_H_
+
+#include <stdint.h>
+#include <stdlib.h>
+#include <limits.h>
+
+#include "return_codes.h"
+
+yup_retcode_t data_receive(uint8_t * const buf, size_t bufsize, size_t * const bytes_read);
+yup_retcode_t data_send (const uint8_t * const buf, size_t bufsize);
+
+#endif /* DATA_H_ */
+