radcli_dae_req_attrs(3)
β¨ radcli_dae_req_attrs β the tea on radcli's DAE request attrs β¨
okay so bestie, buckle up π this one lives in the Radius client library man pages (that's the manual name, don't @ me), and it's genuinely one of the cutest little getters in the whole DAE family. no cap.
πΈ NAME πΈ
radcli_dae_req_attrs β literally just returns the request's decoded attributes. that's it. that's the whole job. and she does it flawlessly π
π SYNOPSIS π
#include <radcli/>
const radcli_avp_list * radcli_dae_req_attrs(
const radcli_dae_request *req
);
like, look at her. two lines, zero drama, returns a const radcli_avp_list * π¦
π¦ DESCRIPTION π¦
so the description section in the original is actually empty β not me skipping it, that's just how the page shipped π the real content lives in PARAMETERS and RETURN VALUE, so scroll a lil bit, i gotchu π«Ά
β PARAMETERS β
reqβ a request passed to aradcli_dae_handler. that's the whole vibe check: if it came out of your handler, this is the one π
π RETURN VALUE π
- the attribute list, owned by
reqand valid until it is freed π (so don't go freeing it yourself, bestie, that's not your business) NULLifreqisNULLβ fair enough, garbage in, garbage out π- but it is never
NULLfor a request the handler actually received: even an attribute-freeDisconnect-Request/CoA-Requeststill yields a valid, empty list π β empty list, not null pointer, there is a difference and it's iconic
ngl the ownership bit is the main character here: the list belongs toreq, so its lifetime isreq's lifetime. freereq, and the list is gone too. periodt π
π₯ SEE ALSO π₯
the whole friend group, fr fr:
radcli_ctx_dispatch(3)radcli_ctx_get_poll(3)radcli_dae_free(3)radcli_dae_new(3)radcli_dae_process(3)radcli_dae_reply(3)radcli_dae_reply_error(3)radcli_dae_reply_to_buffer(3)radcli_dae_req_code(3)radcli_dae_req_framed_ip(3)radcli_dae_req_nas_port(3)radcli_dae_req_session_id(3)radcli_dae_req_user_name(3)radcli_dae_request_free(3)radcli_dae_set_handler(3)radcli_dae_start(3)
okay that's the page!! this beauty is from radcli, dated 2026-10-10, and it's the radcli_dae_req_attrs(3) page β go forth and read your attributes, you absolute legend π§β¨π
π¦ where this page comes from
- arch rolling: radcli 2.0.1-1 Β· BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms