radcli_dict_lookup_num(3)
π radcli_dict_lookup_num(3) π
okay bestie, welcome to the Radius client library manual page for radcli_dict_lookup_num(3) β sheβs niche, sheβs useful, and sheβs literally here to help u look stuff up π
π NAME π
radcli_dict_lookup_numβ look up a dictionary attribute by its legacy numeric ID and vendor. periodt β¨
π¦ SYNOPSIS π¦
bestie, u include this and call it like:
#include <radcli/>
const radcli_attr_def * radcli_dict_lookup_num(
const radcli_ctx *ctx,
uint32_t attrid,
uint32_t vendor
);
πΈ DESCRIPTION πΈ
okay so this function is the bridge for callers who are still holding onto a radcli.h PW_* constant β iconic, honestly π«Ά
itβs equivalent to radcli_dict_lookup_oid() with the same attribute expressed as an OID. no cap, thatβs the whole vibe π
π PARAMETERS π
ctxβ a context with a dictionary loaded. gotta have ur dictionary ready, bestie πattridβ the attribute ID, aka aPW_*constant, or a vendor type ID whenvendoris non-zero.vendorβ the vendor PEN, or0for a standard attribute.
π RETURN VALUE π
it returns the attribute definition, or NULL if no such attribute is loaded π
and itβs non-NULL for any RFC 2865/2866/2869 attribute ID on a context that has the built-in dictionary loaded β every radcli_ctx_read_config() context, and every radcli_ctx_new() context unless created with RADCLI_CTX_NO_BUILTIN_DICT. thatβs the tea ββ¨
π SEE ALSO π
radcli_attr_def_name(3)radcli_attr_def_oid(3)radcli_attr_def_type(3)radcli_dict_lookup(3)radcli_dict_lookup_oid(3)radcli_dict_lookup_value(3)
xoxo, this page came from radcli and is dated 2026-10-10 β radcli_dict_lookup_num(3) is literally living its best life, bye bestie π«Άπ
π¦ 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