radcli_dict_lookup_num(3) Radius client library radcli_dict_lookup_num(3) NAME radcli_dict_lookup_num - Look up a dictionary attribute by its legacy numeric ID and vendor. SYNOPSIS #include const radcli_attr_def * radcli_dict_lookup_num( const radcli_ctx *ctx, uint32_t attrid, uint32_t vendor ); DESCRIPTION Bridges callers that still hold a radcli.h PW_* constant; equivalent to radcli_dict_lookup_oid() with the same attribute expressed as an OID. PARAMETERS ctx a context with a dictionary loaded. attrid the attribute ID (a PW_* constant, or a vendor type ID when vendor is non-zero). vendor the vendor PEN, or 0 for a standard attribute. RETURN VALUE the attribute definition, or NULL if no such attribute is loaded. 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. 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) radcli 2026-09-03 radcli_dict_lookup_num(3)