ctap_transport.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 Freie Universität Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
22 #ifndef FIDO2_CTAP_TRANSPORT_CTAP_TRANSPORT_H
23 #define FIDO2_CTAP_TRANSPORT_CTAP_TRANSPORT_H
24 
25 #include <stdint.h>
26 #include "mutex.h"
27 #include "timex.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
36 #ifndef CTAP_TRANSPORT_PRIO
37 #define CTAP_TRANSPORT_PRIO (THREAD_PRIORITY_MAIN - 5)
38 #endif
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 #endif /* FIDO2_CTAP_TRANSPORT_CTAP_TRANSPORT_H */
void fido2_ctap_transport_init(void)
Initialize ctap_transport layer and fido2_ctap.
Mutex for thread synchronization.
Utility library for comparing and computing timestamps.