summaryrefslogtreecommitdiff
path: root/src/blob.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2020-04-17 20:57:34 +0100
committerColin Watson <cjwatson@debian.org>2020-04-18 09:48:21 +0100
commitdf7226c4b684fd229dc046388225c69ded877721 (patch)
treee69014e1ee868c4ec178b8a36baae7de31786beb /src/blob.h
parentf794345c2d734f593da8ed7754e5dbb5809c688d (diff)
parent75073d0a8478441cc97a6efa10b566c5fb1dac81 (diff)
Update upstream source from tag 'upstream/1.4.0'
Update to upstream version '1.4.0' with Debian dir 64889867df57bd13ea0cb964223697d378d391ce
Diffstat (limited to 'src/blob.h')
-rw-r--r--src/blob.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/blob.h b/src/blob.h
index 24fdc23..9e98d03 100644
--- a/src/blob.h
+++ b/src/blob.h
@@ -7,6 +7,13 @@
7#ifndef _BLOB_H 7#ifndef _BLOB_H
8#define _BLOB_H 8#define _BLOB_H
9 9
10#include <cbor.h>
11#include <stdlib.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif /* __cplusplus */
16
10typedef struct fido_blob { 17typedef struct fido_blob {
11 unsigned char *ptr; 18 unsigned char *ptr;
12 size_t len; 19 size_t len;
@@ -25,4 +32,8 @@ int fido_blob_set(fido_blob_t *, const unsigned char *, size_t);
25void fido_blob_free(fido_blob_t **); 32void fido_blob_free(fido_blob_t **);
26void fido_free_blob_array(fido_blob_array_t *); 33void fido_free_blob_array(fido_blob_array_t *);
27 34
35#ifdef __cplusplus
36} /* extern "C" */
37#endif /* __cplusplus */
38
28#endif /* !_BLOB_H */ 39#endif /* !_BLOB_H */