Greenbone Vulnerability Management Libraries 22.32.0
gvm_connection_t Struct Reference

Connection. More...

#include <serverutils.h>

Collaboration diagram for gvm_connection_t:
Collaboration graph

Data Fields

int tls
 Whether uses TCP-TLS (vs UNIX socket).
int socket
 Socket.
gnutls_session_t session
 Session.
gnutls_certificate_credentials_t credentials
 Credentials.
gchar * username
 Username with which to connect.
gchar * password
 Password for user with which to connect.
gchar * host_string
 Server host string.
gchar * port_string
 Server port string.
gint port
 Port of server.
gboolean use_certs
 Whether to use certs.
gchar * ca_cert
 CA certificate.
gchar * pub_key
 The public key.
gchar * priv_key
 The private key.

Detailed Description

Connection.

Definition at line 29 of file serverutils.h.

Field Documentation

◆ ca_cert

gchar* gvm_connection_t::ca_cert

CA certificate.

Definition at line 41 of file serverutils.h.

◆ credentials

gnutls_certificate_credentials_t gvm_connection_t::credentials

Credentials.

Definition at line 34 of file serverutils.h.

Referenced by gvm_connection_free().

◆ host_string

gchar* gvm_connection_t::host_string

Server host string.

Definition at line 37 of file serverutils.h.

Referenced by osp_send_command_str().

◆ password

gchar* gvm_connection_t::password

Password for user with which to connect.

Definition at line 36 of file serverutils.h.

◆ port

gint gvm_connection_t::port

Port of server.

Definition at line 39 of file serverutils.h.

Referenced by osp_send_command_str().

◆ port_string

gchar* gvm_connection_t::port_string

Server port string.

Definition at line 38 of file serverutils.h.

◆ priv_key

gchar* gvm_connection_t::priv_key

The private key.

Definition at line 43 of file serverutils.h.

◆ pub_key

gchar* gvm_connection_t::pub_key

The public key.

Definition at line 42 of file serverutils.h.

◆ session

gnutls_session_t gvm_connection_t::session

◆ socket

◆ tls

int gvm_connection_t::tls

Whether uses TCP-TLS (vs UNIX socket).

Definition at line 31 of file serverutils.h.

Referenced by gvm_connection_free(), gvm_connection_vsendf_internal(), osp_send_command_str(), read_entity_and_string_c(), read_text_c(), and try_read_entity_c().

◆ use_certs

gboolean gvm_connection_t::use_certs

Whether to use certs.

Definition at line 40 of file serverutils.h.

◆ username

gchar* gvm_connection_t::username

Username with which to connect.

Definition at line 35 of file serverutils.h.


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