Reference

radcli_dict_lookup(3)

Look up a dictionary attribute by its canonical name.

NAME

radcli_dict_lookup - Look up a dictionary attribute by its canonical name.

SYNOPSIS

#include <radcli/>

const radcli_attr_def * radcli_dict_lookup(
    const radcli_ctx  *ctx,
    const char        *name
);

DESCRIPTION

Case-insensitive, matching the legacy dictionary's own lookup rules.

PARAMETERS

ctx

a context with a dictionary loaded.

name

the attribute name, e.g. "Framed-IP-Address".

RETURN VALUE

the attribute definition, or NULL if no such attribute is loaded.

SEE ALSO

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