OpenVAS Libraries
7.0.7
Main Page
Related Pages
Data Structures
Files
File List
Globals
base
credentials.h
Go to the documentation of this file.
1
/* openvas-libraries/base
2
* $Id$
3
* Description: Credential pairs and triples.
4
*
5
* Authors:
6
* Matthew Mundell <matthew.mundell@greenbone.net>
7
* Michael Wiegand <michael.wiegand@intevation.de>
8
* Felix Wolfsteller <felix.wolfsteller@intevation.de>
9
*
10
* Copyright:
11
* Copyright (C) 2010 Greenbone Networks GmbH
12
*
13
* This program is free software; you can redistribute it and/or modify
14
* it under the terms of the GNU General Public License version 2,
15
* or, at your option, any later version as published by the Free
16
* Software Foundation
17
*
18
* This program is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU General Public License for more details.
22
*
23
* You should have received a copy of the GNU General Public License
24
* along with this program; if not, write to the Free Software
25
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
26
*/
27
28
#ifndef _OPENVAS_LIBRARIES_BASE_CREDENTIALS_H
29
#define _OPENVAS_LIBRARIES_BASE_CREDENTIALS_H
30
31
#include "
credentials.h
"
32
33
#include <glib.h>
34
38
typedef
struct
39
{
40
/*@null@ */
gchar *username;
42
/*@null@ */
gchar *password;
44
/*@null@ */
gchar *uuid;
46
/*@null@ */
gchar *timezone;
48
/*@null@ */
gchar *severity_class;
50
/*@null@ */
int
dynamic_severity;
52
/*@null@ */
gchar *role;
54
}
credentials_t
;
55
56
void
free_credentials
(
credentials_t
* credentials);
57
58
void
append_to_credentials_username
(
credentials_t
* credentials,
59
const
char
*text, gsize length);
60
61
void
append_to_credentials_password
(
credentials_t
* credentials,
62
const
char
*text, gsize length);
63
64
#endif
/* _OPENVAS_LIBRARIES_BASE_CREDENTIALS_H */
Generated by
1.8.3.1