29 #ifndef IOT_STATIC_MEMORY_H_ 30 #define IOT_STATIC_MEMORY_H_ 33 #include "iot_config.h" 36 #if ( IOT_STATIC_MEMORY_ONLY == 1 ) 145 size_t elementSize );
void * Iot_MallocMessageBuffer(size_t size)
Get an empty message buffer.
Definition: iot_static_memory_common.c:140
int32_t IotStaticMemory_FindFree(uint32_t *pInUse, size_t limit)
Find a free buffer using the "in-use" flags.
Definition: iot_static_memory_common.c:83
void Iot_FreeMessageBuffer(void *ptr)
Free an in-use message buffer.
Definition: iot_static_memory_common.c:163
void IotStaticMemory_ReturnInUse(void *ptr, void *pPool, uint32_t *pInUse, size_t limit, size_t elementSize)
Return an "in-use" buffer.
Definition: iot_static_memory_common.c:103
size_t Iot_MessageBufferSize(void)
Get the fixed size of a message buffer.
Definition: iot_static_memory_common.c:133