diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2021-04-09 18:38:02 +0200 |
---|---|---|
committer | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2021-04-09 18:38:57 +0200 |
commit | 50998fcfb916ae251309bd4b464f2c122e8cb30d (patch) | |
tree | 4ecf7a7443b75ab51c4dc0c0fc9289342dc7d6a0 /gm_platform/fw/cobs.h | |
parent | 312fee491cfab436d52db4b6265107e20f3e1293 (diff) | |
download | master-thesis-50998fcfb916ae251309bd4b464f2c122e8cb30d.tar.gz master-thesis-50998fcfb916ae251309bd4b464f2c122e8cb30d.tar.bz2 master-thesis-50998fcfb916ae251309bd4b464f2c122e8cb30d.zip |
Repo re-org
Diffstat (limited to 'gm_platform/fw/cobs.h')
-rw-r--r-- | gm_platform/fw/cobs.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gm_platform/fw/cobs.h b/gm_platform/fw/cobs.h deleted file mode 100644 index 8c84ca4..0000000 --- a/gm_platform/fw/cobs.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef __COBS_H__ -#define __COBS_H__ - -#include <stdint.h> -#include <unistd.h> -#include <string.h> - - -struct cobs_decode_state { - size_t p; - size_t c; -}; - - -ssize_t cobs_encode(char *dst, size_t dstlen, char *src, size_t srclen); -ssize_t cobs_decode(char *dst, size_t dstlen, char *src, size_t srclen); - -int cobs_encode_usart(int (*output)(char), char *src, size_t srclen); - -void cobs_decode_incremental_initialize(struct cobs_decode_state *state); -int cobs_decode_incremental(struct cobs_decode_state *state, char *dst, size_t dstlen, char src); - -#endif//__COBS_H__ |