xref: /btstack/platform/posix/le_device_db_fs.h (revision 2fca4dad957cd7b88f4657ed51e89c12615dda72)
19ed01c36SMatthias Ringwald /*
29ed01c36SMatthias Ringwald  * Copyright (C) 2016 BlueKitchen GmbH
39ed01c36SMatthias Ringwald  *
49ed01c36SMatthias Ringwald  * Redistribution and use in source and binary forms, with or without
59ed01c36SMatthias Ringwald  * modification, are permitted provided that the following conditions
69ed01c36SMatthias Ringwald  * are met:
79ed01c36SMatthias Ringwald  *
89ed01c36SMatthias Ringwald  * 1. Redistributions of source code must retain the above copyright
99ed01c36SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer.
109ed01c36SMatthias Ringwald  * 2. Redistributions in binary form must reproduce the above copyright
119ed01c36SMatthias Ringwald  *    notice, this list of conditions and the following disclaimer in the
129ed01c36SMatthias Ringwald  *    documentation and/or other materials provided with the distribution.
139ed01c36SMatthias Ringwald  * 3. Neither the name of the copyright holders nor the names of
149ed01c36SMatthias Ringwald  *    contributors may be used to endorse or promote products derived
159ed01c36SMatthias Ringwald  *    from this software without specific prior written permission.
169ed01c36SMatthias Ringwald  * 4. Any redistribution, use, or modification is done solely for
179ed01c36SMatthias Ringwald  *    personal benefit and not for any commercial purpose or for
189ed01c36SMatthias Ringwald  *    monetary gain.
199ed01c36SMatthias Ringwald  *
209ed01c36SMatthias Ringwald  * THIS SOFTWARE IS PROVIDED BY BLUEKITCHEN GMBH AND CONTRIBUTORS
219ed01c36SMatthias Ringwald  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
229ed01c36SMatthias 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,
259ed01c36SMatthias Ringwald  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
269ed01c36SMatthias Ringwald  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
279ed01c36SMatthias Ringwald  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
289ed01c36SMatthias Ringwald  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
299ed01c36SMatthias Ringwald  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
309ed01c36SMatthias Ringwald  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
319ed01c36SMatthias Ringwald  * SUCH DAMAGE.
329ed01c36SMatthias Ringwald  *
339ed01c36SMatthias Ringwald  * Please inquire about commercial licensing options at
349ed01c36SMatthias Ringwald  * [email protected]
359ed01c36SMatthias Ringwald  *
369ed01c36SMatthias Ringwald  */
379ed01c36SMatthias Ringwald 
3880e33422SMatthias Ringwald #ifndef LE_DEVICE_DB_FS_H
3980e33422SMatthias Ringwald #define LE_DEVICE_DB_FS_H
409ed01c36SMatthias Ringwald 
419ed01c36SMatthias Ringwald #include "ble/le_device_db.h"
429ed01c36SMatthias Ringwald 
439ed01c36SMatthias Ringwald #if defined __cplusplus
449ed01c36SMatthias Ringwald extern "C" {
459ed01c36SMatthias Ringwald #endif
469ed01c36SMatthias Ringwald 
479ed01c36SMatthias Ringwald /*
489ed01c36SMatthias Ringwald  * @brief Get le device db implementation that stores bonding information in /tmp
499ed01c36SMatthias Ringwald  */
509ed01c36SMatthias Ringwald const le_device_db_t * le_device_db_fs_instance(void);
519ed01c36SMatthias Ringwald 
529ed01c36SMatthias Ringwald /* API_END */
539ed01c36SMatthias Ringwald 
549ed01c36SMatthias Ringwald #if defined __cplusplus
559ed01c36SMatthias Ringwald }
569ed01c36SMatthias Ringwald #endif
579ed01c36SMatthias Ringwald 
5880e33422SMatthias Ringwald #endif // LE_DEVICE_DB_FS_H
59