|
Greenbone Vulnerability Management Libraries 22.32.0
|
Connection. More...
#include <serverutils.h>

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. | |
Connection.
Definition at line 29 of file serverutils.h.
| gchar* gvm_connection_t::ca_cert |
CA certificate.
Definition at line 41 of file serverutils.h.
| gnutls_certificate_credentials_t gvm_connection_t::credentials |
| gchar* gvm_connection_t::host_string |
Server host string.
Definition at line 37 of file serverutils.h.
Referenced by osp_send_command_str().
| gchar* gvm_connection_t::password |
Password for user with which to connect.
Definition at line 36 of file serverutils.h.
| gint gvm_connection_t::port |
| gchar* gvm_connection_t::port_string |
Server port string.
Definition at line 38 of file serverutils.h.
| gchar* gvm_connection_t::priv_key |
The private key.
Definition at line 43 of file serverutils.h.
| gchar* gvm_connection_t::pub_key |
The public key.
Definition at line 42 of file serverutils.h.
| gnutls_session_t gvm_connection_t::session |
Session.
Definition at line 33 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().
| int gvm_connection_t::socket |
Socket.
Definition at line 32 of file serverutils.h.
Referenced by close_unix(), gvm_connection_free(), gvm_connection_vsendf_internal(), osp_send_command_str(), read_entity_and_string_c(), read_text_c(), and try_read_entity_c().
| 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().
| gboolean gvm_connection_t::use_certs |
Whether to use certs.
Definition at line 40 of file serverutils.h.
| gchar* gvm_connection_t::username |
Username with which to connect.
Definition at line 35 of file serverutils.h.