1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
61
62
63
71
72
73
79
80
81
82
83
89
90
91
96
97
98
99
100
101
102
103
/* ... */
/* ... */
#ifndef BTSTACK_TLV_H
#define BTSTACK_TLV_H
#include <stdint.h>
#if defined __cplusplus
extern "C" {
#endif
typedef struct {
/* ... */
int (*get_tag)(void * context, uint32_t tag, uint8_t * buffer, uint32_t buffer_size);
/* ... */
int (*store_tag)(void * context, uint32_t tag, const uint8_t * data, uint32_t data_size);
/* ... */
void (*delete_tag)(void * context, uint32_t tag);
...} btstack_tlv_t;
/* ... */
void btstack_tlv_set_instance(const btstack_tlv_t * tlv_impl, void * tlv_context);
/* ... */
void btstack_tlv_get_instance(const btstack_tlv_t ** tlv_impl, void ** tlv_context);
#if defined __cplusplus
}extern "C" { ... }
#endif/* ... */
#endif