Greenbone Vulnerability Management Libraries
10.0.0
|
Credential pairs and triples. More...
Go to the source code of this file.
Functions | |
void | free_credentials (credentials_t *credentials) |
Free credentials. More... | |
void | append_to_credentials_username (credentials_t *credentials, const char *text, gsize length) |
Append text to the username of a credential pair. More... | |
void | append_to_credentials_password (credentials_t *credentials, const char *text, gsize length) |
Append text to the password of a credential pair. More... | |
Credential pairs and triples.
Definition in file credentials.c.
void append_to_credentials_password | ( | credentials_t * | credentials, |
const char * | text, | ||
gsize | length | ||
) |
Append text to the password of a credential pair.
[in] | credentials | Credentials. |
[in] | text | The text to append. |
[in] | length | Length of the text. |
Definition at line 72 of file credentials.c.
References gvm_append_text(), and credentials_t::password.
void append_to_credentials_username | ( | credentials_t * | credentials, |
const char * | text, | ||
gsize | length | ||
) |
Append text to the username of a credential pair.
[in] | credentials | Credentials. |
[in] | text | The text to append. |
[in] | length | Length of the text. |
Definition at line 58 of file credentials.c.
References gvm_append_text(), and credentials_t::username.
void free_credentials | ( | credentials_t * | credentials | ) |
Free credentials.
Free the members of a credentials pair.
[in] | credentials | Pointer to the credentials. |
Definition at line 39 of file credentials.c.
References credentials_t::password, credentials_t::role, credentials_t::severity_class, credentials_t::timezone, credentials_t::username, and credentials_t::uuid.