Greenbone Security Assistant
gsad_credentials.h
Go to the documentation of this file.
1 /* Copyright (C) 2018-2021 Greenbone Networks GmbH
2  *
3  * SPDX-License-Identifier: AGPL-3.0-or-later
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU Affero General Public License as
7  * published by the Free Software Foundation, either version 3 of the
8  * License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Affero General Public License for more details.
14  *
15  * You should have received a copy of the GNU Affero General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
24 #ifndef _GSAD_CREDENTIALS_H
25 #define _GSAD_CREDENTIALS_H
26 
27 #include "gsad_user.h"
28 
29 #include <glib.h>
30 
31 typedef struct credentials credentials_t;
32 
34 credentials_new (user_t *user, const gchar *language);
35 
36 void
38 
39 user_t *
41 
42 const gchar *
44 
45 const gchar *
47 
48 void
50 
51 double
53 
54 #endif /* _GSAD_CREDENTIALS_H */
double credentials_get_cmd_duration(credentials_t *creds)
Definition: gsad_credentials.c:84
const gchar * credentials_get_current_page(credentials_t *creds)
user_t * credentials_get_user(credentials_t *creds)
Definition: gsad_credentials.c:66
void credentials_start_cmd(credentials_t *creds)
Definition: gsad_credentials.c:78
credentials_t * credentials_new(user_t *user, const gchar *language)
Definition: gsad_credentials.c:41
const gchar * credentials_get_language(credentials_t *creds)
Definition: gsad_credentials.c:72
void credentials_free(credentials_t *creds)
Definition: gsad_credentials.c:53
GSAD user handling.
Structure of credential related information.
Definition: gsad_credentials.c:34
gchar * language
Language for this request.
Definition: gsad_credentials.c:36
User information structure, for sessions.
Definition: gsad_user.c:42