.\" File automatically generated by doxy2man0.3 .\" Generation date: Thu Sep 3 2026 .TH radcli_avp_add_str_by_num 3 2026-09-03 "radcli" "Radius client library" .SH "NAME" radcli_avp_add_str_by_num \- Look up a string-typed attribute by legacy numeric ID and append it. .SH SYNOPSIS .nf .B #include .sp \fBint radcli_avp_add_str_by_num\fP( \fBradcli_avp_list *\fP\fIlist\fP, \fBconst radcli_ctx *\fP\fIctx\fP, \fBuint32_t \fP\fIattrid\fP, \fBuint32_t \fP\fIvendor\fP, \fBconst char *\fP\fIvalue\fP ); .fi .SH DESCRIPTION .SH PARAMETERS .TP .B list destination list. .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. .TP .B value a null-terminated string. .SH RETURN VALUE .PP 0 on success, -1 on failure (no such attribute, or as radcli_avp_add_str()). .SH SEE ALSO .PP .nh .ad l \fIradcli_avp_add_bytes_by_num\fP(3), \fIradcli_avp_add_ip4_by_num\fP(3), \fIradcli_avp_add_ip4prefix_by_num\fP(3), \fIradcli_avp_add_ip6_by_num\fP(3), \fIradcli_avp_add_uint32_by_num\fP(3), \fIradcli_avp_add_uint64_by_num\fP(3) .ad .hy