.\" File automatically generated by doxy2man0.3 .\" Generation date: Thu Sep 3 2026 .TH radcli_dict_lookup_value 3 2026-09-03 "radcli" "Radius client library" .SH "NAME" radcli_dict_lookup_value \- Resolve a dictionary VALUE by name, scoped to one attribute. .SH SYNOPSIS .nf .B #include .sp \fBint radcli_dict_lookup_value\fP( \fBconst radcli_ctx *\fP\fIctx\fP, \fBconst radcli_attr_def *\fP\fIdef\fP, \fBconst char *\fP\fIname\fP, \fBuint32_t *\fP\fIout\fP ); .fi .SH DESCRIPTION .PP The runtime, VALUE-name counterpart to radcli_dict_lookup(): covers a vendor-specific or supplemental-dictionary VALUE with no compiled-in constant in radcli-defs.h (which only covers RFC 2865/2866/2869 standard VALUEs). A VALUE name is only meaningful together with the attribute it was defined under two different attributes may each define a VALUE named e.g. "Yes" so def fixes that scope, the same way radcli_dict_value_by_attr()/rc_dict_getval() already scope a numeric VALUE lookup by attribute rather than matching across the whole dictionary. .SH PARAMETERS .TP .B ctx a context with a dictionary loaded. .TP .B def the attribute the VALUE belongs to, from radcli_dict_lookup() or a sibling. .TP .B name the VALUE's name, as it appears in a VALUE dictionary line. .TP .B out the VALUE's numeric value, set only on success. .SH RETURN VALUE .PP 0 on success, -1 if ctx/def/name/out is NULL or no such VALUE is defined for def. .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_num\fP(3), \fIradcli_dict_lookup_oid\fP(3) .ad .hy