summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2018-12-17 19:59:49 +0900
committerjaseg <git@jaseg.net>2018-12-17 19:59:49 +0900
commit59b01a744279b1287db1fb8d73ab69450758b1fb (patch)
tree32700cc08f5ca0b2731376244556a505800ff33c /include
parentb457eb1a91bf5b9995b568d32182ac364273fe15 (diff)
downloadsecure-hid-59b01a744279b1287db1fb8d73ab69450758b1fb.tar.gz
secure-hid-59b01a744279b1287db1fb8d73ab69450758b1fb.tar.bz2
secure-hid-59b01a744279b1287db1fb8d73ab69450758b1fb.zip
Both COBS encode and decode proven for synchronization
Diffstat (limited to 'include')
-rw-r--r--include/cobs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cobs.h b/include/cobs.h
index 1cc2681..24e16fb 100644
--- a/include/cobs.h
+++ b/include/cobs.h
@@ -15,7 +15,7 @@ struct cobs_decode_state {
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_incremental(void *f, int (*output)(void *, char), char *src, size_t srclen);
+int cobs_encode_incremental(void *f, int (*output)(void *f, unsigned char c), unsigned char *src, size_t srclen);
/*@ requires \valid(state);
ensures state->p == 0 && state->c == 0;