30 if (
name[0] <
'a' ||
name[0] >
'z')
return false;
32 for (
const char* p =
name; *p; ++p) {
35 const bool ok = (c >=
'a' && c <=
'z') || (c >=
'0' && c <=
'9') || c ==
'_';
36 if (!ok)
return false;
char name[cdc::hal::ISecureElement::RMEM_NAME_LEN]
constexpr size_t EXT_FEATURE_MAX_PER_PLUGIN
Maximum number of provides entries a single plugin manifest may declare.
constexpr size_t EXT_FEATURE_NAME_MAX
Maximum external-feature name length including the trailing NUL.
bool isValidExtFeatureName(const char *name)
True if name is a well-formed external-feature name.