.\" File automatically generated by doxy2man0.3 .\" Generation date: Thu Sep 3 2026 .TH radcli_dict_lookup_num 3 2026-09-03 "radcli" "Radius client library" .SH "NAME" radcli_dict_lookup_num \- Look up a dictionary attribute by its legacy numeric ID and vendor. .SH SYNOPSIS .nf .B #include .sp \fBconst radcli_attr_def * radcli_dict_lookup_num\fP( \fBconst radcli_ctx *\fP\fIctx\fP, \fBuint32_t \fP\fIattrid\fP, \fBuint32_t \fP\fIvendor\fP ); .fi .SH DESCRIPTION .PP Bridges callers that still hold a radcli.h PW_* constant; equivalent to radcli_dict_lookup_oid() with the same attribute expressed as an OID. .SH PARAMETERS .TP .B ctx a context with a dictionary loaded. .TP .B attrid the attribute ID (a PW_* constant, or a vendor type ID when vendor is non-zero). .TP .B vendor the vendor PEN, or 0 for a standard attribute. .SH RETURN VALUE .PP 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. .SH SEE ALSO .PP .nh .ad l \fIradcli_attr_def_name\fP(3), \fIradcli_attr_def_oid\fP(3), \fIradcli_attr_def_type\fP(3), \fIradcli_dict_lookup\fP(3), \fIradcli_dict_lookup_oid\fP(3), \fIradcli_dict_lookup_value\fP(3) .ad .hy