summaryrefslogtreecommitdiff
path: root/src/blob.h
diff options
context:
space:
mode:
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 */