C Tool Box 0.1.0
Loading...
Searching...
No Matches
ctb_SNode.h File Reference

Go to the source code of this file.

Data Structures

struct  ctb_SNode
 Singly linked node data structure. More...
 

Typedefs

typedef struct ctb_SNode ctb_SNode_t
 Singly linked node type.
 

Functions

ctb_SNode_tctb_SNode_init (ctb_SNode_t *const self)
 Initializes a singly linked node.
 
ctb_SNode_tctb_SNode_getNext (ctb_SNode_t *const self)
 Returns the next node.
 

Function Documentation

◆ ctb_SNode_getNext()

ctb_SNode_t * ctb_SNode_getNext ( ctb_SNode_t *const self)

Returns the next node.

Parameters
selfPointer to a singly linked node
Returns
Pointer to the next node

◆ ctb_SNode_init()

ctb_SNode_t * ctb_SNode_init ( ctb_SNode_t *const self)

Initializes a singly linked node.

Parameters
selfPointer to a singly linked node
Returns
Pointer to the initialized singly linked node