rc_avpair_get_raw3
Get the raw value of the given attribute value-pair.
Usage
#include <radcli/>
int rc_avpair_get_raw(
VALUE_PAIR *vp,
char **res,
unsigned *res_size
);
Overview
This function is valid for PW_TYPE_STRING, PW_TYPE_IPV6ADDR, PW_TYPE_IPV6PREFIX.
Parameters
|
a pointer to a VALUE_PAIR structure. |
|---|---|
|
Will contain pointer to the data value. |
|
Will contain the data size. |
Return value
zero on success or -1 on failure.
Releases
4 releases since Debian 11 (Bullseye); the text changed 1 time.