Resolve a wire-protocol key against the configuration schema.
Returns the schema-table index and expected cfg_kind_* token.
On unknown key sets ok=.false. with a "unknown config key: ..."
message that callers can forward into an error reply or push.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | key | |||
| integer, | intent(out) | :: | idx | |||
| integer, | intent(out) | :: | expected_kind | |||
| logical, | intent(out) | :: | ok | |||
| character(len=*), | intent(out) | :: | message |