radcli_dae_req_session_id(3)

πŸ“¦ version 2.0.1, in arch rolling

πŸ’– 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 a radcli_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 to req, not you. it's giving borrowed-book energy β€” don't free it, don't outlive it. once req is freed, that pointer is a ghost. πŸ‘»

🌈 SEE ALSO 🌈

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