blob: fd412e51c69f48b48c896f1790dc8f9d1cdab60b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Map
---
## Object Definitions
```c
typedef struct _kpl_map_bucket {
KPL_SLAB_HEADER(_kpl_map_bucket);
kpl_any key, value;
} kpl_map_bucket;
typedef struct _kpl_map {
KPL_POOL_HEADER(_kpl_map);
uint32_t length;
kpl_interface *key_interface, *value_interface;
kpl_map_bucket *head, *tail;
kpl_map_bucket *buckets[];
} kpl_map;
```
|