radcli_dict_lookup_oid(3)

πŸ“¦ version 2.0.1, in arch rolling

✨ NAME ✨

okay bestie, welcome to the radcli_dict_lookup_oid(3) page from the Radius client library manual πŸ’–. The radcli_dict_lookup_oid function is literally here to 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 🌸

This call accepts a standard attribute as a single component β€” like "1" for User-Name β€” or a vendor-specific attribute as "26.<vendor-id>.<vendor-type>" (e.g. "26.311.11") πŸ’….

⚠️ Important caveat, no cap: longer forms naming an RFC 6929 extended, long-extended, or TLV-nested attribute parse without error but currently match nothing, because 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 πŸ’–

You get the attribute definition back, or NULL if the OID is malformed or matches no loaded attribute. That's the whole vibe check, periodt πŸ”₯.

πŸ¦‹ SEE ALSO πŸ¦‹

Go read these next, bestie πŸ‘‘.


Bestie, that's the whole page β€” source/version radcli, dated 2026-10-10, for radcli_dict_lookup_oid(3) πŸ’‹πŸŽ€

πŸ“¦ where this page comes from