Go to the source code of this file.
◆ PATNODE_TO_STRUCT
#define PATNODE_TO_STRUCT |
( |
|
function, |
|
|
|
structure, |
|
|
|
pat_node |
|
) |
| |
Value: static inline structure *(
function)(
patnode *node) { \
if (node) { \
return (structure *)((char *)node - offsetof(structure, pat_node)); \
} \
return NULL; \
}
Definition at line 18 of file patricia_api.h.
◆ patnode
◆ patroot
◆ patricia_add()
◆ patricia_delete()
◆ patricia_get_next()
◆ patricia_get_previous()
◆ patricia_lookup()
◆ patricia_lookup_geq()
◆ patricia_lookup_greatest()
◆ patricia_lookup_least()
◆ patricia_root_delete()
void patricia_root_delete |
( |
patroot * |
root | ) |
|
◆ patricia_root_init()