Greenbone Security Assistant  8.0.0
gsad_credentials.h
Go to the documentation of this file.
1 /* Copyright (C) 2018 Greenbone Networks GmbH
2  *
3  * SPDX-License-Identifier: GPL-2.0-or-later
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License
7  * as published by the Free Software Foundation; either version 2
8  * of the 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 General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
25 #ifndef _GSAD_CREDENTIALS_H
26 #define _GSAD_CREDENTIALS_H
27 
28 #include "gsad_user.h"
29 
30 #include <glib.h>
31 
32 typedef struct credentials credentials_t;
33 
35 credentials_new (user_t *user, const gchar *language);
36 
37 void
39 
40 user_t *
42 
43 const gchar *
45 
46 const gchar *
48 
49 void
51 
52 double
54 
55 #endif /* _GSAD_CREDENTIALS_H */
Structure of credential related information.
credentials_t * credentials_new(user_t *user, const gchar *language)
const gchar * credentials_get_current_page(credentials_t *creds)
gchar * language
Language for this request.
const gchar * credentials_get_language(credentials_t *creds)
void credentials_free(credentials_t *creds)
double credentials_get_cmd_duration(credentials_t *creds)
void credentials_start_cmd(credentials_t *creds)
user_t * credentials_get_user(credentials_t *creds)
User information structure, for sessions.
Definition: gsad_user.c:42
GSAD user handling.