Go to the source code of this file.
|
#define | LE_CDATA_COMPONENT_COUNT 1 |
|
#define | LE_CDATA_DECLARE(x) static struct x _le_cdata_Instance[LE_CDATA_COMPONENT_COUNT] |
|
#define | LE_CDATA_THIS (&_le_cdata_Instance[0]) |
|
Legato Component Data API include file.
Copyright (C) Sierra Wireless Inc.
◆ LE_CDATA_DECLARE
#define LE_CDATA_DECLARE |
( |
|
x | ) |
static struct x _le_cdata_Instance[LE_CDATA_COMPONENT_COUNT] |
Define per-component instance data.
◆ LE_CDATA_THIS
#define LE_CDATA_THIS (&_le_cdata_Instance[0]) |
Fetch per-instance data for the current instance.
◆ le_cdata_GetInstance()
unsigned int le_cdata_GetInstance |
( |
unsigned int |
componentKey | ) |
|
Get this component instance.
- Note
- This should typically not be used by a user application; use LE_CDATA_THIS instead.