diff options
Diffstat (limited to 'docs/application/queue.md')
| -rw-r--r-- | docs/application/queue.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/application/queue.md b/docs/application/queue.md index 86c4009..21ec995 100644 --- a/docs/application/queue.md +++ b/docs/application/queue.md @@ -1,3 +1,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; +``` |
