|
AWS IoT Device SDK C:
Linear Containers
Linked lists and Queues
|
| Return to main page ↑ |
Remove all elements in a queue.
| [in] | pQueue | The queue to empty. |
| [in] | freeElement | A function to free memory used by each removed queue element. Optional; pass NULL to ignore. |
| [in] | linkOffset | Offset in bytes of a link member in its container, used to calculate the pointer to pass to freeElement. This value should be calculated with the C offsetof macro. This parameter is ignored if freeElement is NULL or its value is 0. |