radcli_dict_lookup_oid(3)
β¨ NAME β¨
okay bestie, welcome to the radcli_dict_lookup_oid(3) page from the Radius client library manual π. The radcli_dict_lookup_oid function is literally here to look up a dictionary attribute by RFC 6929 Β§2.7 OID notation β¨.
π οΈ SYNOPSIS π οΈ
#include <radcli/>
const radcli_attr_def * radcli_dict_lookup_oid(
const radcli_ctx *ctx,
const char *oid
);
πΈ DESCRIPTION πΈ
This call accepts a standard attribute as a single component β like "1" for User-Name β or a vendor-specific attribute as "26.<vendor-id>.<vendor-type>" (e.g. "26.311.11") π
.
β οΈ Important caveat, no cap: longer forms naming an RFC 6929 extended, long-extended, or TLV-nested attribute parse without error but currently match nothing, because the bundled dictionary carries no RFC 6929 extended/long-extended/TLV-nested attributes yet π.
π PARAMETERS π
ctxβ a context with a dictionary loaded π«Ά.oidβ the dot-separated OID text π¦.
π RETURN VALUE π
You get the attribute definition back, or NULL if the OID is malformed or matches no loaded attribute. That's the whole vibe check, periodt π₯.
π¦ SEE ALSO π¦
radcli_attr_def_name(3)radcli_attr_def_oid(3)radcli_attr_def_type(3)radcli_dict_lookup(3)radcli_dict_lookup_num(3)radcli_dict_lookup_value(3)
Go read these next, bestie π.
Bestie, that's the whole page β source/version radcli, dated 2026-10-10, for radcli_dict_lookup_oid(3) ππ
π¦ where this page comes from
- arch rolling: radcli 2.0.1-1 Β· BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms