2021-09-03 21:26:25 +00:00
|
|
|
.TL
|
|
|
|
single_node.h
|
|
|
|
|
|
|
|
.AU
|
|
|
|
Wael Karram
|
|
|
|
|
|
|
|
.AB no
|
|
|
|
Documentation for single_node.h
|
2021-09-04 14:18:06 +00:00
|
|
|
.AE
|
|
|
|
|
2021-11-10 10:10:34 +00:00
|
|
|
.DA
|
2021-09-03 21:26:25 +00:00
|
|
|
|
2021-11-10 10:10:34 +00:00
|
|
|
.LP
|
2021-09-03 21:26:25 +00:00
|
|
|
This header defines a single node, with the prepoccessor variable SINGLE_NODE_H used as an include guard.
|
|
|
|
.br
|
|
|
|
Defines a single struct
|
2021-09-04 14:18:06 +00:00
|
|
|
.UL node_t \0which
|
|
|
|
has the fields
|
|
|
|
.I "next" \0and
|
|
|
|
.I "data" ,
|
|
|
|
the former of which is another node pointer, and the latter is a void pointer.
|
|
|
|
.br
|
|
|
|
It is of note that this header type-defines the aformentioned node as
|
|
|
|
.I "node_t" .
|