Flipper application manifest. More...
#include <stdint.h>
#include <stdbool.h>
#include "elf/elf_api_interface.h"
Go to the source code of this file.
Data Structures | |
struct | FlipperApplicationManifestBase |
struct | FlipperApplicationManifestV1 |
Macros | |
#define | FAP_MANIFEST_MAGIC 0x52474448 |
#define | FAP_MANIFEST_SUPPORTED_VERSION 1 |
#define | FAP_MANIFEST_MAX_APP_NAME_LENGTH 32 |
#define | FAP_MANIFEST_MAX_ICON_SIZE 32 |
Typedefs | |
typedef FlipperApplicationManifestV1 | FlipperApplicationManifest |
Functions | |
bool | flipper_application_manifest_is_valid (const FlipperApplicationManifest *manifest) |
Check if manifest is valid. | |
bool | flipper_application_manifest_is_too_old (const FlipperApplicationManifest *manifest, const ElfApiInterface *api_interface) |
Check if API Version declared in manifest is older than firmware ELF API interface. | |
bool | flipper_application_manifest_is_too_new (const FlipperApplicationManifest *manifest, const ElfApiInterface *api_interface) |
Check if API Version declared in manifest is newer than firmware ELF API interface. | |
bool | flipper_application_manifest_is_target_compatible (const FlipperApplicationManifest *manifest) |
Check if application is compatible with current hardware. | |
Flipper application manifest.
bool flipper_application_manifest_is_target_compatible | ( | const FlipperApplicationManifest * | manifest | ) |
Check if application is compatible with current hardware.
manifest |
bool flipper_application_manifest_is_too_new | ( | const FlipperApplicationManifest * | manifest, |
const ElfApiInterface * | api_interface ) |
Check if API Version declared in manifest is newer than firmware ELF API interface.
manifest | The manifest |
api_interface | The api interface |
bool flipper_application_manifest_is_too_old | ( | const FlipperApplicationManifest * | manifest, |
const ElfApiInterface * | api_interface ) |
Check if API Version declared in manifest is older than firmware ELF API interface.
manifest | The manifest |
api_interface | The api interface |
bool flipper_application_manifest_is_valid | ( | const FlipperApplicationManifest * | manifest | ) |
Check if manifest is valid.
manifest |