GRU - Generic Reusable Utilities
|
#include "gru_node.h"
Functions | |
gru_node_t * | gru_node_new (const void *ptr) |
Creates a new node. More... | |
void | gru_node_destroy (gru_node_t **node) |
Destroys a node and sets is address to NULL. More... | |
void | gru_node_set_previous (gru_node_t *node, gru_node_t *previous) |
void | gru_node_set_next (gru_node_t *node, gru_node_t *next) |
void | gru_node_reset (gru_node_t *node) |
void | gru_node_unlink (gru_node_t *node) |
void gru_node_destroy | ( | gru_node_t ** | node | ) |
Destroys a node and sets is address to NULL.
node | a pointer to the node pointer to destroy |
gru_node_t* gru_node_new | ( | const void * | ptr | ) |
Creates a new node.
ptr | data pointer |
void gru_node_reset | ( | gru_node_t * | node | ) |
void gru_node_set_next | ( | gru_node_t * | node, |
gru_node_t * | next | ||
) |
void gru_node_set_previous | ( | gru_node_t * | node, |
gru_node_t * | previous | ||
) |
void gru_node_unlink | ( | gru_node_t * | node | ) |