Greenbone Vulnerability Management Libraries  10.0.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). More...
 
int socket
 Socket. More...
 
gnutls_session_t session
 Session. More...
 
gnutls_certificate_credentials_t credentials
 Credentials. More...
 
gchar * username
 Username with which to connect. More...
 
gchar * password
 Password for user with which to connect. More...
 
gchar * host_string
 Server host string. More...
 
gchar * port_string
 Server port string. More...
 
gint port
 Port of server. More...
 
gboolean use_certs
 Whether to use certs. More...
 
gchar * ca_cert
 CA certificate. More...
 
gchar * pub_key
 The public key. More...
 
gchar * priv_key
 The private key. More...
 

Detailed Description

Connection.

Definition at line 43 of file serverutils.h.

Field Documentation

◆ ca_cert

gchar* gvm_connection_t::ca_cert

CA certificate.

Definition at line 55 of file serverutils.h.

◆ credentials

gnutls_certificate_credentials_t gvm_connection_t::credentials

Credentials.

Definition at line 48 of file serverutils.h.

Referenced by gvm_connection_free().

◆ host_string

gchar* gvm_connection_t::host_string

Server host string.

Definition at line 51 of file serverutils.h.

◆ password

gchar* gvm_connection_t::password

Password for user with which to connect.

Definition at line 50 of file serverutils.h.

◆ port

gint gvm_connection_t::port

Port of server.

Definition at line 53 of file serverutils.h.

◆ port_string

gchar* gvm_connection_t::port_string

Server port string.

Definition at line 52 of file serverutils.h.

◆ priv_key

gchar* gvm_connection_t::priv_key

The private key.

Definition at line 57 of file serverutils.h.

◆ pub_key

gchar* gvm_connection_t::pub_key

The public key.

Definition at line 56 of file serverutils.h.

◆ session

gnutls_session_t gvm_connection_t::session

◆ socket

int gvm_connection_t::socket

◆ tls

int gvm_connection_t::tls

Whether uses TCP-TLS (vs UNIX socket).

Definition at line 45 of file serverutils.h.

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

◆ use_certs

gboolean gvm_connection_t::use_certs

Whether to use certs.

Definition at line 54 of file serverutils.h.

◆ username

gchar* gvm_connection_t::username

Username with which to connect.

Definition at line 49 of file serverutils.h.


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