radcli_dict_lookup_oid(3)

radcli_dict_lookup_oid3

Look up a dictionary attribute by rfc 6929 §2.7 oid notation.

Usage

#include <radcli/>

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

Overview

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.

From radcli 2.0.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.