Contiki-NG
Functions

Implementation of circular singly linked lists. More...

#include "contiki.h"
#include "lib/circular-list.h"
#include <stdint.h>
#include <stdbool.h>
#include <string.h>

Go to the source code of this file.

Functions

void circular_list_init (circular_list_t cl)
 Initialise a circular, singly-linked list. More...
 
void * circular_list_head (circular_list_t cl)
 Return the tail of a circular, singly-linked list. More...
 
void * circular_list_tail (circular_list_t cl)
 Return the tail of a circular, singly-linked list. More...
 
void circular_list_remove (circular_list_t cl, void *element)
 Remove an element from a circular, singly-linked list. More...
 
void circular_list_add (circular_list_t cl, void *element)
 Add an element to a circular, singly-linked list. More...
 
unsigned long circular_list_length (circular_list_t cl)
 Get the length of a circular, singly-linked list. More...
 
bool circular_list_is_empty (circular_list_t cl)
 Determine whether a circular, singly-linked list is empty. More...
 

Detailed Description

Implementation of circular singly linked lists.

Definition in file circular-list.c.