radcli_dae_set_handler(3)
π radcli_dae_set_handler β bestie's guide to hooking up your DAE callback π
So this is a page from the radcli crew β the Radius client library, hi β and it's about radcli_dae_set_handler, which registers the callback that radcli_ctx_dispatch() invokes for each validated request. And the slay part? You can call it before or after radcli_dae_start(). No cap, it's flexible like that. β¨
β¨ SYNOPSIS β¨
#include <radcli/>
void radcli_dae_set_handler(
radcli_dae *dae,
radcli_dae_handler cb,
void *user
);
π DESCRIPTION π
Okay so likeβ¦ the original page has this heading sitting here with absolutely nothing under it π literally an empty vibe. So we're not gonna invent anything β we just move straight to the parameters, iykyk. π«Ά
πΈ PARAMETERS πΈ
daeβ a listener that came fromradcli_dae_new(). Your main character listener, if you will πcbβ the callback itself π and heads up: passNULLif you wanna clear a previously registered one. Poof, gone, iconic.userβ just gets passed right back tocbunchanged. No edits, no notes, no nothing β it comes back exactly how it left. π¦
π₯ SEE ALSO π₯
Go read these next, fr fr β they're all the siblings and they all ate:
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_attrs(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_start(3)
Bestie reminder:cbbeingNULLisn't a bug, it's a feature β it's how you clear the handler you set earlier. Don't @ me. π
Okay that's the whole page, you're all caught up π§π this was radcli, dated 2026-10-10, and we are so done here β mwah! ππβ
π¦ 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