AWS IoT Device SDK C: Linear Containers
Linked lists and Queues
Return to main page ↑
IotListDouble_Create

Create a new doubly-linked list.

static inline void IotListDouble_Create( IotListDouble_t * const pList )

This function initializes a new doubly-linked list. It must be called on an uninitialized IotListDouble_t before calling any other doubly-linked list function. This function must not be called on an already-initialized IotListDouble_t.

This function will not fail. The function IotListDouble_RemoveAll may be called to destroy a list.

Parameters
[in]pListPointer to the memory that will hold the new doubly-linked list.