OpenVAS Libraries  9.0.3
openvas_connection_t Struct Reference

Connection. More...

#include <openvas_server.h>

Collaboration diagram for openvas_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 58 of file openvas_server.h.

Field Documentation

◆ ca_cert

gchar* openvas_connection_t::ca_cert

CA certificate.

Definition at line 70 of file openvas_server.h.

◆ credentials

gnutls_certificate_credentials_t openvas_connection_t::credentials

Credentials.

Definition at line 63 of file openvas_server.h.

Referenced by openvas_connection_free().

◆ host_string

gchar* openvas_connection_t::host_string

Server host string.

Definition at line 66 of file openvas_server.h.

◆ password

gchar* openvas_connection_t::password

Password for user with which to connect.

Definition at line 65 of file openvas_server.h.

◆ port

gint openvas_connection_t::port

Port of server.

Definition at line 68 of file openvas_server.h.

◆ port_string

gchar* openvas_connection_t::port_string

Server port string.

Definition at line 67 of file openvas_server.h.

◆ priv_key

gchar* openvas_connection_t::priv_key

The private key.

Definition at line 72 of file openvas_server.h.

◆ pub_key

gchar* openvas_connection_t::pub_key

The public key.

Definition at line 71 of file openvas_server.h.

◆ session

gnutls_session_t openvas_connection_t::session

Session.

Definition at line 62 of file openvas_server.h.

Referenced by openvas_connection_free(), and try_read_entity_and_string_c().

◆ socket

int openvas_connection_t::socket

Socket.

Definition at line 61 of file openvas_server.h.

Referenced by openvas_connection_free(), and try_read_entity_and_string_c().

◆ tls

int openvas_connection_t::tls

Whether uses TCP-TLS (vs UNIX socket).

Definition at line 60 of file openvas_server.h.

Referenced by openvas_connection_free(), and try_read_entity_and_string_c().

◆ use_certs

gboolean openvas_connection_t::use_certs

Whether to use certs.

Definition at line 69 of file openvas_server.h.

◆ username

gchar* openvas_connection_t::username

Username with which to connect.

Definition at line 64 of file openvas_server.h.


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