rc_acct3
Builds an accounting request for port id nas_port with the value_pairs at send.
Usage
#include <radcli/>
int rc_acct(
rc_handle *rh,
uint32_t nas_port,
VALUE_PAIR *send
);
Overview
Parameters
|
a handle to parsed configuration. |
|---|---|
|
the physical NAS port number to use (may be zero). |
|
a VALUE_PAIR array of values (e.g., PW_USER_NAME). |
Return value
received value_pairs in received, and OK_RC (0) on success, CHALLENGE_RC (3) on Access-Challenge received, negative on failure as return value.
Releases
4 releases since Debian 11 (Bullseye); the text changed 1 time.