device: Set disconnect timer to zero for fast disconnection
[platform/upstream/bluez.git] / monitor / keys.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 /*
3  *
4  *  BlueZ - Bluetooth protocol stack for Linux
5  *
6  *  Copyright (C) 2011-2014  Intel Corporation
7  *  Copyright (C) 2002-2010  Marcel Holtmann <marcel@holtmann.org>
8  *
9  *
10  */
11
12 #include <stdint.h>
13 #include <stdbool.h>
14
15 void keys_setup(void);
16 void keys_cleanup(void);
17
18 void keys_update_identity_key(const uint8_t key[16]);
19 void keys_update_identity_addr(const uint8_t addr[6], uint8_t addr_type);
20
21 bool keys_resolve_identity(const uint8_t addr[6], uint8_t ident[6],
22                                                         uint8_t *ident_type);
23 bool keys_add_identity(const uint8_t addr[6], uint8_t addr_type,
24                                         const uint8_t key[16]);