codex
|
#include <stddef.h>
Classes | |
struct | node |
struct | container |
struct | value |
Macros | |
#define | container_of(p, t, m) ((t*)((char*)(p) - offsetof(t, m))) |
#define | list_entry(p, t, f) ((void*)container_of(p, t, f)) |
#define | list_for_each(h, v) for(struct node *v = (h); v; v = v->next) |
Functions | |
void | use (struct value *) |
void | list_push_front (struct node **l, struct node *n) |
void | list_pop_front (struct node **l) |
void | f (struct container *c) |
void f | ( | struct container * | c | ) |
void list_pop_front | ( | struct node ** | l | ) |
void use | ( | struct value * | ) |