'\" t .\" Title: nutscan_ip_ranges_iter_inc .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 08/13/2025 .\" Manual: NUT Manual .\" Source: Network UPS Tools 2.8.4 .\" Language: English .\" .TH "NUTSCAN_IP_RANGES_IT" "3" "08/13/2025" "Network UPS Tools 2\&.8\&.4" "NUT Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" nutscan_ip_ranges_iter_inc \- Proceed with iteration of an IP address range using a `nutscan_ip_range_list_iter_t` structure\&. .SH "SYNOPSIS" .sp .nf #include char * nutscan_ip_ranges_iter_inc(nutscan_ip_range_list_iter_t *irliter); .fi .SH "DESCRIPTION" .sp The \fBnutscan_ip_ranges_iter_inc()\fR function can walk an iterator from the specified nutscan_ip_range_list_iter_t helper object, prepared by \fBnutscan_ip_ranges_iter_init\fR(3) from a nutscan_ip_range_list_t structure\&. .sp This function skips work if: .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} the structure pointer is NULL (NULL is returned); .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} the structure pointer\(cqs ip_range list is NULL (NULL is returned), .RE .sp .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .sp -1 .IP \(bu 2.3 .\} the structure pointer\(cqs ip_range_iter pointer is NULL (NULL is returned)\&. .RE .sp Returns the next IP address from the currently iterated registered IP address range, or switches iteration to the next range if no addresses remained in the current one\&. The caller SHOULD NOT free this string while iterating\&. .SH "NOTES" .sp Technically, the function is currently defined in \fInutscan\-ip\&.h\fR file\&. .SH "SEE ALSO" .sp \fBnutscan_init_ip_ranges\fR(3), \fBnutscan_free_ip_ranges\fR(3), \fBnutscan_cidr_to_ip\fR(3), \fBnutscan_ip_ranges_iter_init\fR(3)