#include <ngx_config.h>
#include <ngx_core.h>
Go to the source code of this file.
Macro Definition Documentation
| #define ngx_queue_add |
( |
|
h, |
|
|
|
n |
|
) |
| |
Value:(h)->prev->next = (n)->next; \
(n)->next->prev = (h)->prev; \
(h)->prev = (n)->prev; \
(h)->prev->next = h;
Definition at line 96 of file ngx_queue.h.
| #define ngx_queue_data |
( |
|
q, |
|
|
|
type, |
|
|
|
link |
|
) |
| (type *) ((u_char *) q - offsetof(type, link)) |
| #define ngx_queue_empty |
( |
|
h | ) |
(h == (h)->prev) |
| #define ngx_queue_head |
( |
|
h | ) |
(h)->next |
| #define ngx_queue_init |
( |
|
q | ) |
|
Value:(q)->prev = q; \
(q)->next = q
Definition at line 24 of file ngx_queue.h.
| #define ngx_queue_insert_head |
( |
|
h, |
|
|
|
x |
|
) |
| |
Value:(x)->next = (h)->next; \
(x)->next->prev = x; \
(x)->prev = h; \
(h)->next = x
Definition at line 33 of file ngx_queue.h.
| #define ngx_queue_insert_tail |
( |
|
h, |
|
|
|
x |
|
) |
| |
Value:(x)->prev = (h)->prev; \
(x)->prev->next = x; \
(x)->next = h; \
(h)->prev = x
Definition at line 43 of file ngx_queue.h.
| #define ngx_queue_last |
( |
|
h | ) |
(h)->prev |
| #define ngx_queue_next |
( |
|
q | ) |
(q)->next |
| #define ngx_queue_prev |
( |
|
q | ) |
(q)->prev |
| #define ngx_queue_remove |
( |
|
x | ) |
|
Value:(x)->next->prev = (x)->prev; \
(x)->prev->next = (x)->next
Definition at line 80 of file ngx_queue.h.
| #define ngx_queue_sentinel |
( |
|
h | ) |
(h) |
| #define ngx_queue_split |
( |
|
h, |
|
|
|
q, |
|
|
|
n |
|
) |
| |
Value:(n)->prev = (h)->prev; \
(n)->prev->next = n; \
(n)->next = q; \
(h)->prev = (q)->prev; \
(h)->prev->next = h; \
(q)->prev = n;
Definition at line 87 of file ngx_queue.h.
Typedef Documentation
Function Documentation