Program Listing for File llist_node.h

Return to documentation for file (rcsw/ds/llist_node.h)

#pragma once

/*******************************************************************************
 * Includes
 ******************************************************************************/
#include "rcsw/ds/llist.h"
#include "rcsw/common/fpc.h"

/*******************************************************************************
 * RCSW Private Functions
 ******************************************************************************/
BEGIN_C_DECLS

RCSW_LOCAL struct llist_node *llist_node_alloc(struct llist * list);

RCSW_LOCAL void llist_node_dealloc(struct llist * list, struct llist_node *node);

RCSW_LOCAL struct llist_node * llist_node_create(struct llist * list,
                                      void * data_in);
RCSW_LOCAL void llist_node_destroy(struct llist * list,
                                   struct llist_node *node);

RCSW_LOCAL dptr_t* llist_node_datablock_alloc(struct llist * list);

RCSW_LOCAL void llist_node_datablock_dealloc(struct llist * list,
                                             dptr_t* datablock);

END_C_DECLS

/* \endcond */