GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NUTSCAN_CIDR_TO_IP (3)

.ds Aq ’

NAME

nutscan_cidr_to_ip - Convert a CIDR IP to a range of IP address.

CONTENTS

SYNOPSIS

#include <nut-scan.h>

int nutscan_cidr_to_ip(const char * cidr, char ** start_ip, char ** stop_ip);

DESCRIPTION

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\(cqs responsability to free start_ip and stop_ip strings.

RETURN VALUE

The nutscan_cidr_to_ip() function returns 0 if an error occured (invalid cidr address) or 1 if successful.

SEE ALSO

nutscan_scan_usb(3), nutscan_scan_xml_http(3), nutscan_scan_nut(3), nutscan_scan_avahi(3), nutscan_scan_ipmi(3), nutscan_scan_snmp(3), nutscan_display_parsable(3), nutscan_display_ups_conf(3)

Search for    or go to Top of page |  Section 3 |  Main Index


Network UPS Tools 2&.7&.3&. NUTSCAN_CIDR_TO_IP (3) 03/02/2016

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.