rc_send_server3
Sends a request to a radius server and waits for the reply.
Usage
#include <radcli/>
int rc_send_server(
rc_handle *rh,
SEND_DATA *data,
char *msg,
rc_type type
);
Overview
Parameters
rh-
a handle to parsed configuration
data-
a pointer to a SEND_DATA structure
msg-
must be an array of PW_MAX_MSG_SIZE or NULL; will contain the concatenation of any PW_REPLY_MESSAGE received.
type-
must be AUTH or ACCT
Return value
OK_RC (0) on success, TIMEOUT_RC on timeout REJECT_RC on access reject, or negative on failure as return value.
Releases
4 releases since Debian 11 (Bullseye); the text changed 1 time.