rc_avpair_get_uint323
Get the integer value of the given attribute value-pair.
Usage
#include <radcli/>
int rc_avpair_get_uint32(
VALUE_PAIR *vp,
uint32_t *res
);
Overview
This function is valid for PW_TYPE_INTEGER, PW_TYPE_IPADDR. PW_TYPE_DATE. In PW_TYPE_IPADDR this value will contain the IPv4 address in host by order.
Parameters
|
a pointer to a VALUE_PAIR structure. |
|---|---|
|
The integer value returned. |
Return value
zero on success or -1 on failure.
Releases
4 releases since Debian 11 (Bullseye); the text changed 1 time.