xref: /freebsd/contrib/libfido2/src/fido/config.h (revision f540a43052c12c76d3453ead881248d5467a1ab0)
10afa8e06SEd Maste /*
20afa8e06SEd Maste  * Copyright (c) 2020 Yubico AB. All rights reserved.
30afa8e06SEd Maste  * Use of this source code is governed by a BSD-style
40afa8e06SEd Maste  * license that can be found in the LICENSE file.
50afa8e06SEd Maste  */
60afa8e06SEd Maste 
70afa8e06SEd Maste #ifndef _FIDO_CONFIG_H
80afa8e06SEd Maste #define _FIDO_CONFIG_H
90afa8e06SEd Maste 
100afa8e06SEd Maste #ifdef _FIDO_INTERNAL
110afa8e06SEd Maste #include "blob.h"
120afa8e06SEd Maste #include "fido/err.h"
130afa8e06SEd Maste #include "fido/param.h"
140afa8e06SEd Maste #include "fido/types.h"
150afa8e06SEd Maste #else
160afa8e06SEd Maste #include <fido.h>
170afa8e06SEd Maste #include <fido/err.h>
180afa8e06SEd Maste #include <fido/param.h>
190afa8e06SEd Maste #endif
200afa8e06SEd Maste 
210afa8e06SEd Maste #ifdef __cplusplus
220afa8e06SEd Maste extern "C" {
230afa8e06SEd Maste #endif /* __cplusplus */
240afa8e06SEd Maste 
250afa8e06SEd Maste int fido_dev_enable_entattest(fido_dev_t *, const char *);
260afa8e06SEd Maste int fido_dev_force_pin_change(fido_dev_t *, const char *);
270afa8e06SEd Maste int fido_dev_toggle_always_uv(fido_dev_t *, const char *);
280afa8e06SEd Maste int fido_dev_set_pin_minlen(fido_dev_t *, size_t, const char *);
29*f540a430SEd Maste int fido_dev_set_pin_minlen_rpid(fido_dev_t *, const char * const *, size_t,
30*f540a430SEd Maste     const char *);
310afa8e06SEd Maste 
320afa8e06SEd Maste #ifdef __cplusplus
330afa8e06SEd Maste } /* extern "C" */
340afa8e06SEd Maste #endif /* __cplusplus */
350afa8e06SEd Maste 
360afa8e06SEd Maste #endif /* !_FIDO_CONFIG_H */
37