aboutsummaryrefslogtreecommitdiff
path: root/testing/yup-comm/protocol/data.h
blob: a0b29db6e3d722e16ccf89b8e83095a58723ff54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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_ */