diff options
Diffstat (limited to 'src/fido/credman.h')
-rw-r--r-- | src/fido/credman.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/fido/credman.h b/src/fido/credman.h index 1c7cafe..eaffd65 100644 --- a/src/fido/credman.h +++ b/src/fido/credman.h | |||
@@ -10,8 +10,20 @@ | |||
10 | #include <stdint.h> | 10 | #include <stdint.h> |
11 | #include <stdlib.h> | 11 | #include <stdlib.h> |
12 | 12 | ||
13 | #ifdef _FIDO_INTERNAL | ||
14 | #include "blob.h" | ||
13 | #include "fido/err.h" | 15 | #include "fido/err.h" |
14 | #include "fido/param.h" | 16 | #include "fido/param.h" |
17 | #include "fido/types.h" | ||
18 | #else | ||
19 | #include <fido.h> | ||
20 | #include <fido/err.h> | ||
21 | #include <fido/param.h> | ||
22 | #endif | ||
23 | |||
24 | #ifdef __cplusplus | ||
25 | extern "C" { | ||
26 | #endif /* __cplusplus */ | ||
15 | 27 | ||
16 | #ifdef _FIDO_INTERNAL | 28 | #ifdef _FIDO_INTERNAL |
17 | struct fido_credman_metadata { | 29 | struct fido_credman_metadata { |
@@ -71,4 +83,8 @@ void fido_credman_metadata_free(fido_credman_metadata_t **); | |||
71 | void fido_credman_rk_free(fido_credman_rk_t **); | 83 | void fido_credman_rk_free(fido_credman_rk_t **); |
72 | void fido_credman_rp_free(fido_credman_rp_t **); | 84 | void fido_credman_rp_free(fido_credman_rp_t **); |
73 | 85 | ||
86 | #ifdef __cplusplus | ||
87 | } /* extern "C" */ | ||
88 | #endif /* __cplusplus */ | ||
89 | |||
74 | #endif /* !_FIDO_CREDMAN_H */ | 90 | #endif /* !_FIDO_CREDMAN_H */ |