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

Insert an element before another element in a doubly-linked list.

static inline void IotListDouble_InsertBefore( IotLink_t * const pElement,
IotLink_t * const pLink )
Parameters
[in]pElementThe new element will be placed before this element.
[in]pLinkPointer to the new element's link member.