Greenbone Vulnerability Management Libraries 22.32.0
gvm_host Struct Reference

The structure for a single host object. More...

#include <hosts.h>

Collaboration diagram for gvm_host:
Collaboration graph

Data Fields

union { 
   gchar *   name 
   struct in_addr   addr 
   struct in6_addr   addr6 
}; 
enum host_type type
GSList * vhosts

Detailed Description

The structure for a single host object.

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

Definition at line 60 of file hosts.h.

Field Documentation

◆ [union]

union { ... } gvm_host

◆ addr

struct in_addr gvm_host::addr

◆ addr6

struct in6_addr gvm_host::addr6

◆ name

◆ type

◆ vhosts

GSList* gvm_host::vhosts

List of hostnames/vhosts attached to this host.

Definition at line 69 of file hosts.h.

Referenced by gvm_duplicate_host(), gvm_host_add_reverse_lookup(), gvm_host_free(), gvm_hosts_deduplicate(), and gvm_vhosts_exclude().


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