Snapdragon® Telematics Application Framework (TelAF) Interface Specification
|
Go to the source code of this file.
Macros | |
#define | LE_FUNC_DISABLED(setting) |
#define | LE_FULL_API LE_FUNC_DISABLED("LINUX") |
#define | LE_API_FILESYSTEM LE_FUNC_DISABLED("FILESYSTEM") |
API requires filesystem support. More... | |
API feature selection for Legato. This file provides a mapping of KConfig selections to API functions that are available. As an example, if file system support is disabled, then a compile-time error will be generated if an le_fs function is used.
Copyright (C) Sierra Wireless Inc.
#define LE_FUNC_DISABLED | ( | setting | ) |
Mark a function as disabled due to a KConfig selection.
setting | Configuration setting name string. |
#define LE_FULL_API LE_FUNC_DISABLED("LINUX") |
Macro used to declare that a symbol is part of the "full" Legato API.
There are two APIs for Legato: "full" and "limited". Linux uses the "full" API and all functions are available. On other platforms only the "limited" API is supported, and any attempt to use a "full" api function will lead to a compile error.
#define LE_API_FILESYSTEM LE_FUNC_DISABLED("FILESYSTEM") |
API requires filesystem support.