Skip to content

Commit

Permalink
tools/nut-scanner/nutscan-ip.h: add nutscan_ip_range_list_t structure…
Browse files Browse the repository at this point in the history
… comments [networkupstools#2244, networkupstools#2511]

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Jul 8, 2024
1 parent 6597330 commit 9823a4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/nut-scanner/nutscan-ip.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ typedef struct nutscan_ip_range_s {

/* List of IP address ranges and helper data: */
typedef struct nutscan_ip_range_list_s {
nutscan_ip_range_t * ip_ranges;
nutscan_ip_range_t * ip_ranges_last;
size_t ip_ranges_count;
nutscan_ip_range_t * ip_ranges; /* Actual linked list of entries, first entry */
nutscan_ip_range_t * ip_ranges_last; /* Pointer to end of list for quicker additions */
size_t ip_ranges_count; /* Counter of added entries */
} nutscan_ip_range_list_t;

/* Initialize fields of caller-provided list
Expand Down

0 comments on commit 9823a4a

Please sign in to comment.