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

Insert an element at the head of a doubly-linked list.

static inline void IotListDouble_InsertHead( IotListDouble_t * const pList,
IotLink_t * const pLink )
Parameters
[in]pListThe doubly-linked list that will hold the new element.
[in]pLinkPointer to the new element's link member.