radcli_dae_req_session_id(3)
π radcli_dae_req_session_id(3) β the radcli manual, bestie edition π
okay so picture this: you're deep in a radcli DAE handler, and you need to know what Acct-Session-Id the request rolled up with. That's literally this function. It's a tiny little icon in the radcli Radius client library and it does exactly one thing, but it does it slayfully. β¨
πΈ NAME πΈ
radcli_dae_req_session_id β returns the request's Acct-Session-Id, if it carried one. no cap, that's the whole gig π
π¦ SYNOPSIS π¦
#include <radcli/>
const char * radcli_dae_req_session_id(
const radcli_dae_request *req
);
literally just one argument, we love a low-effort queen π
π PARAMETERS π
reqβ a request that got passed to aradcli_dae_handler. that's it, that's the parameter. π«Ά
β RETURN VALUE β
You get back a NUL-terminated string that's owned by req and stays valid until req is freed, or NULL if req is NULL or it carried no Acct-Session-Id. π
π bestie please listen: the string belongs toreq, not you. it's giving borrowed-book energy β don't free it, don't outlive it. oncereqis freed, that pointer is a ghost. π»
π SEE ALSO π
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_user_name(3)radcli_dae_request_free(3)radcli_dae_set_handler(3)radcli_dae_start(3)
the whole friend group fr fr, go read them all, iykyk π
that's the page, bestie!! source radcli, dated 2026-10-10, and the manpage name is radcli_dae_req_session_id(3) β go forth and read those session ids responsibly. 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