Greenbone Vulnerability Management Libraries 22.32.0
gvm_hosts Struct Reference

The structure for Hosts collection. More...

#include <hosts.h>

Collaboration diagram for gvm_hosts:
Collaboration graph

Data Fields

gchar * orig_str
gvm_host_t ** hosts
size_t max_size
size_t current
size_t count
size_t removed
size_t duplicated

Detailed Description

The structure for Hosts collection.

The elements of this structure should never be accessed directly. Only the functions corresponding to this module should be used.

Definition at line 87 of file hosts.h.

Field Documentation

◆ count

◆ current

◆ duplicated

size_t gvm_hosts::duplicated

Number of duplicated values.

Definition at line 95 of file hosts.h.

Referenced by gvm_hosts_deduplicate(), and gvm_hosts_duplicated().

◆ hosts

◆ max_size

size_t gvm_hosts::max_size

Current max size of hosts array entries.

Definition at line 91 of file hosts.h.

Referenced by gvm_hosts_add(), gvm_hosts_fill_gaps(), and gvm_hosts_init().

◆ orig_str

gchar* gvm_hosts::orig_str

Original hosts definition string.

Definition at line 89 of file hosts.h.

Referenced by gvm_hosts_free(), gvm_hosts_init(), and gvm_hosts_new_with_max().

◆ removed

size_t gvm_hosts::removed

The documentation for this struct was generated from the following file: