diff options
| author | Jan Sucan <sucanjan@fit.cvut.cz> | 2019-06-04 14:34:27 +0200 |
|---|---|---|
| committer | Jan Sucan <sucanjan@fit.cvut.cz> | 2019-06-04 14:34:27 +0200 |
| commit | dc8703206e3f0f69605c56d0e1127f7e17f3476a (patch) | |
| tree | 166823a741dc420c10d54250cb53d1e3a6b74faf /testing/yup-comm/protocol/data.h | |
Initial commit
Diffstat (limited to 'testing/yup-comm/protocol/data.h')
| -rw-r--r-- | testing/yup-comm/protocol/data.h | 16 |
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_ */ + |
