summaryrefslogtreecommitdiff
path: root/docs/application/queue.md
blob: 21ec995b8087fc8250bfede68935566139b6ba6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Queue

---

```c
typedef struct _kpl_queue_item {
    POOL_HEADER(_kpl_queue_item);
    kpl_interface *interface;
    kpl_class class;
} kpl_queue_item;

typedef struct _kpl_queue {
    POOL_HEADER(_kpl_queue);
    uint32_t length;
    kpl_queue_item *head, *tail;
} kpl_queue;
```