Define RCSW_CONTAINER_OF

Define Documentation

RCSW_CONTAINER_OF(ptr, type, member)

Mostly stolen from the linux kernel. VERY cool macro for getting a pointer to a struct given a pointer to a member within the struct.