1 /*
2  * Copyright (C) 2015-2020 Alibaba Group Holding Limited
3  */
4 #ifndef __DDBIF_H__
5 #define __DDBIF_H__
6 
7 #include "bluetooth.h"
8 #include "me_api.h"
9 
10 void ddbif_list_saved_flash(void);
11 
12 bt_status_t ddbif_close(void);
13 
14 bt_status_t ddbif_add_record(btif_device_record_t *record);
15 
16 bt_status_t ddbif_open(const bt_bdaddr_t *bdAddr);
17 
18 bt_status_t ddbif_find_record(const bt_bdaddr_t *bdAddr, btif_device_record_t *record);
19 
20 bt_status_t ddbif_delete_record(const bt_bdaddr_t *bdAddr);
21 
22 bt_status_t ddbif_enum_device_records(I16 index, btif_device_record_t *record);
23 
24 size_t ddbif_device_records_num(void);
25 #endif /*__DDBIF_H__*/
26 
27