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

Defined constants of the linear containers library.

Libraries may #define constants in their headers with special meanings. This page describes the meanings and uses of any constants defined by the linear containers library. Related constants are shown in a single section on this page.

Linear Containers Initializers

Provides default values for initializing the linear containers data types.

#define IOT_LINK_INITIALIZER { 0 }
#define IOT_LIST_DOUBLE_INITIALIZER IOT_LINK_INITIALIZER
#define IOT_DEQUEUE_INITIALIZER IOT_LINK_INITIALIZER

All user-facing data types of the linear containers library should be initialized using one of the following.

Warning
Failure to initialize a linear containers data type with the appropriate initializer may result in a runtime error!
Note
The initializers may change at any time in future versions, but their names will remain the same.