xref: /freebsd/contrib/libfido2/src/fido/config.h (revision ebacd8013fe5f7fdf9f6a5b286f6680dd2891036)
1 /*
2  * Copyright (c) 2020 Yubico AB. All rights reserved.
3  * Use of this source code is governed by a BSD-style
4  * license that can be found in the LICENSE file.
5  */
6 
7 #ifndef _FIDO_CONFIG_H
8 #define _FIDO_CONFIG_H
9 
10 #ifdef _FIDO_INTERNAL
11 #include "blob.h"
12 #include "fido/err.h"
13 #include "fido/param.h"
14 #include "fido/types.h"
15 #else
16 #include <fido.h>
17 #include <fido/err.h>
18 #include <fido/param.h>
19 #endif
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif /* __cplusplus */
24 
25 int fido_dev_enable_entattest(fido_dev_t *, const char *);
26 int fido_dev_force_pin_change(fido_dev_t *, const char *);
27 int fido_dev_toggle_always_uv(fido_dev_t *, const char *);
28 int fido_dev_set_pin_minlen(fido_dev_t *, size_t, const char *);
29 
30 #ifdef __cplusplus
31 } /* extern "C" */
32 #endif /* __cplusplus */
33 
34 #endif /* !_FIDO_CONFIG_H */
35