Austin Blackstone / Mbed 2 deprecated mbed-client-classic-example-lwip

Dependencies:   mbed Socket lwip-eth lwip-sys lwip

Fork of mbed-client-classic-example-lwip by sandbox

Embed: (wiki syntax)

« Back to documentation index

ns_list_link Struct Reference

ns_list_link Struct Reference

The type for the link member in the user's entry structure. More...

#include <ns_list.h>

Data Fields

void * next
 Pointer to next entry, or NULL if none.
void ** prev
 Pointer to previous entry's (or head's) next pointer.

Detailed Description

The type for the link member in the user's entry structure.

Users should not access this member directly - just pass its name to the list head macros. The funny prev pointer simplifies common operations (eg insertion, removal), at the expense of complicating rare reverse iteration.

NB - the list implementation relies on next being the first member.

Definition at line 221 of file ns_list.h.


Field Documentation

void* next

Pointer to next entry, or NULL if none.

Definition at line 222 of file ns_list.h.

void** prev

Pointer to previous entry's (or head's) next pointer.

Definition at line 223 of file ns_list.h.