radcli_dict_lookup_oid - Man Page

Look up a dictionary attribute by RFC 6929 §2.7 OID notation.

Synopsis

#include <radcli/>

const radcli_attr_def * radcli_dict_lookup_oid(
    const radcli_ctx  *ctx,
    const char        *oid
);

Description

Accepts a standard attribute as a single component ("1" for User-Name) or a vendor-specific attribute as "26.<vendor-id>.<vendor-type>" (e.g. "26.311.11"). Longer forms naming an RFC 6929 extended, long-extended, or TLV-nested attribute parse without error but currently match nothing: the bundled dictionary carries no RFC 6929 extended/long-extended/TLV-nested attributes yet.

Parameters

ctx

a context with a dictionary loaded.

oid

the dot-separated OID text.

Return Value

the attribute definition, or NULL if the OID is malformed or matches no loaded attribute.

See Also

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

Info

2026-09-03 radcli Radius client library