void FD_free(struct fd_list_s *list)
Frees all entry nodes in the list, but does not free the list itself.
Definition fd.c:10
struct fd_node_s * FD_shift(struct fd_list_s *list)
Returns the first node in the list and removes it for consumption by the caller. The caller is respon...
Definition fd.c:21
int FD_append(struct fd_list_s *list, uint8_t *frame)
Appends a new frame data block to the end of the list. The frame data provided is not copied,...
Definition fd.c:32
Represents a list of frame data blocks.
Definition fd.h:10
struct fd_node_s * tail
Last node in the list.
Definition fd.h:12
int count
Number of nodes in the list.
Definition fd.h:13
struct fd_node_s * head
First node in the list.
Definition fd.h:11
Represents a node in a list of frame data blocks.
Definition fd.h:18
struct fd_node_s * next
Next node in the list.
Definition fd.h:20
uint8_t * frame
Frame data block.
Definition fd.h:19