nutscan_cidr_to_ip (3) - Linux Man Pages
nutscan_cidr_to_ip: Convert a CIDR IP to a range of IP address.
nutscan_cidr_to_ip - Convert a CIDR IP to a range of IP address.
int nutscan_cidr_to_ip(const char * cidr, char ** start_ip, char ** stop_ip);
The nutscan_cidr_to_ip() function converts a range of IP address in the CIDR format given as a string in cidr, to two IPs in strings pointed by start_ip and stop_ip which can be used as input paramters in the scanning functions of the libnutscan API. It is the caller's responsability to free start_ip and stop_ip strings.