39 #ifndef __TC_UTILS_H__ 40 #define __TC_UTILS_H__ 60 unsigned int _copy(uint8_t *to,
unsigned int to_len,
61 const uint8_t *from,
unsigned int from_len);
70 void _set(
void *to, uint8_t val,
unsigned int len);
89 int _compare(
const uint8_t *a,
const uint8_t *b,
size_t size);
void _set(void *to, uint8_t val, unsigned int len)
Set the value 'val' into the buffer 'to', 'len' times.
Definition: tc_utils.c:51
uint8_t _double_byte(uint8_t a)
Definition: tc_utils.c:59
int _compare(const uint8_t *a, const uint8_t *b, size_t size)
Definition: tc_utils.c:64
unsigned int _copy(uint8_t *to, unsigned int to_len, const uint8_t *from, unsigned int from_len)
Copy the the buffer 'from' to the buffer 'to'.
Definition: tc_utils.c:40