CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
ExtFeatureName.h File Reference

Validation for external-feature names declared under the manifest provides capability and passed to the host_ext_feature_* API. More...

#include <cstddef>

Go to the source code of this file.

Namespaces

namespace  cdc
namespace  cdc::plugin_manager

Functions

bool cdc::plugin_manager::isValidExtFeatureName (const char *name)
 True if name is a well-formed external-feature name.

Variables

constexpr size_t cdc::plugin_manager::EXT_FEATURE_NAME_MAX = 33
 Maximum external-feature name length including the trailing NUL.
constexpr size_t cdc::plugin_manager::EXT_FEATURE_MAX_PER_PLUGIN = 4
 Maximum number of provides entries a single plugin manifest may declare.

Detailed Description

Validation for external-feature names declared under the manifest provides capability and passed to the host_ext_feature_* API.

Pure header-only logic (no ESP-IDF dependencies) so the native host test suite can exercise it directly.

Definition in file ExtFeatureName.h.