Scroll to navigation

radcli_attr_def_oid(3) Radius client library radcli_attr_def_oid(3)

NAME

radcli_attr_def_oid - Render an attribute definition's RFC 6929 §2.7 OID notation.

SYNOPSIS

#include <radcli/>

int radcli_attr_def_oid(

const radcli_attr_def *def,
char *buf,
size_t buflen );

DESCRIPTION

PARAMETERS

an attribute definition from radcli_dict_lookup() or a sibling.

destination buffer; may be NULL if buflen is 0.

size of buf in bytes.

RETURN VALUE

the number of characters the OID text would occupy, excluding the terminating null, as with snprintf(); negative if def is NULL.

SEE ALSO

radcli_attr_def_name(3), radcli_attr_def_type(3), radcli_dict_lookup(3), radcli_dict_lookup_num(3), radcli_dict_lookup_oid(3), radcli_dict_lookup_value(3)

2026-11-15 radcli