xref: /btstack/platform/posix/btstack_link_key_db_fs.h (revision 2fca4dad957cd7b88f4657ed51e89c12615dda72)
1caed94dfSMatthias Ringwald /*
2caed94dfSMatthias Ringwald  * Copyright (C) 2014 BlueKitchen GmbH
3caed94dfSMatthias Ringwald  *
4caed94dfSMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
5caed94dfSMatthias Ringwald  * modification, are permitted provided that the following conditions
6caed94dfSMatthias Ringwald  * are met:
7caed94dfSMatthias Ringwald  *
8caed94dfSMatthias Ringwald  * 1. Redistributions of source code must retain the above copyright
9caed94dfSMatthias Ringwald  *    notice, this list of conditions and the following disclaimer.
10caed94dfSMatthias Ringwald  * 2. Redistributions in binary form must reproduce the above copyright
11caed94dfSMatthias Ringwald  *    notice, this list of conditions and the following disclaimer in the
12caed94dfSMatthias Ringwald  *    documentation and/or other materials provided with the distribution.
13caed94dfSMatthias Ringwald  * 3. Neither the name of the copyright holders nor the names of
14caed94dfSMatthias Ringwald  *    contributors may be used to endorse or promote products derived
15caed94dfSMatthias Ringwald  *    from this software without specific prior written permission.
16caed94dfSMatthias Ringwald  * 4. Any redistribution, use, or modification is done solely for
17caed94dfSMatthias Ringwald  *    personal benefit and not for any commercial purpose or for
18caed94dfSMatthias Ringwald  *    monetary gain.
19caed94dfSMatthias Ringwald  *
20caed94dfSMatthias Ringwald  * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS
21caed94dfSMatthias Ringwald  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22caed94dfSMatthias Ringwald  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23*2fca4dadSMilanka Ringwald  * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BLUEKITCHEN
24*2fca4dadSMilanka Ringwald  * GMBH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25caed94dfSMatthias Ringwald  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26caed94dfSMatthias Ringwald  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
27caed94dfSMatthias Ringwald  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
28caed94dfSMatthias Ringwald  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29caed94dfSMatthias Ringwald  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
30caed94dfSMatthias Ringwald  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31caed94dfSMatthias Ringwald  * SUCH DAMAGE.
32caed94dfSMatthias Ringwald  *
33caed94dfSMatthias Ringwald  * Please inquire about commercial licensing options at
34caed94dfSMatthias Ringwald  * [email protected]
35caed94dfSMatthias Ringwald  *
36caed94dfSMatthias Ringwald  */
37caed94dfSMatthias Ringwald 
3880e33422SMatthias Ringwald #ifndef BTSTACK_LINK_KEY_DB_FS_H
3980e33422SMatthias Ringwald #define BTSTACK_LINK_KEY_DB_FS_H
40caed94dfSMatthias Ringwald 
41caed94dfSMatthias Ringwald #include "classic/btstack_link_key_db.h"
42caed94dfSMatthias Ringwald 
43caed94dfSMatthias Ringwald #if defined __cplusplus
44caed94dfSMatthias Ringwald extern "C" {
45caed94dfSMatthias Ringwald #endif
46caed94dfSMatthias Ringwald 
47caed94dfSMatthias Ringwald /*
48caed94dfSMatthias Ringwald  * @brief Get basic link key db implementation that stores link keys in /tmp
49caed94dfSMatthias Ringwald  */
50caed94dfSMatthias Ringwald const btstack_link_key_db_t * btstack_link_key_db_fs_instance(void);
51caed94dfSMatthias Ringwald 
52caed94dfSMatthias Ringwald /* API_END */
53caed94dfSMatthias Ringwald 
54caed94dfSMatthias Ringwald #if defined __cplusplus
55caed94dfSMatthias Ringwald }
56caed94dfSMatthias Ringwald #endif
57caed94dfSMatthias Ringwald 
5880e33422SMatthias Ringwald #endif // BTSTACK_LINK_KEY_DB_FS_H
59