21#define G_LOG_DOMAIN "libgvm base"
35 g_free (credentials->
uuid);
37 g_free (credentials->
role);
39 memset (credentials,
'\0',
sizeof (*credentials));
void append_to_credentials_username(credentials_t *credentials, const char *text, gsize length)
Append text to the username of a credential pair.
Definition credentials.c:50
void append_to_credentials_password(credentials_t *credentials, const char *text, gsize length)
Append text to the password of a credential pair.
Definition credentials.c:64
void free_credentials(credentials_t *credentials)
Free credentials.
Definition credentials.c:31
Credential pairs and triples.
void gvm_append_text(gchar **var, const gchar *string, gsize length)
Append a string of a known length to a string variable.
Definition strings.c:66
A username password pair.
Definition credentials.h:20
gchar * role
Role of user.
Definition credentials.h:35
gchar * password
Password of user.
Definition credentials.h:23
gchar * timezone
Timezone of user.
Definition credentials.h:27
gchar * username
Login name of user.
Definition credentials.h:21
gchar * uuid
UUID of user.
Definition credentials.h:25
gchar * severity_class
Severity Class setting of user.
Definition credentials.h:31