Greenbone Security Assistant  8.0.0
gsad_settings.h
Go to the documentation of this file.
1 /* Copyright (C) 2016-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_SETTINGS_H
26 #define _GSAD_SETTINGS_H
27 
28 #include <glib.h>
29 
30 void
31 vendor_version_set (const gchar *);
32 
33 const gchar *
35 
36 int
37 label_name_set (const gchar *);
38 
39 void
40 set_session_timeout (int timeout);
41 
42 int
44 
45 void
46 set_use_secure_cookie (int use);
47 
48 gboolean
50 
51 void
52 set_http_content_security_policy (const gchar *policy);
53 
54 const gchar *
56 
57 void
58 set_http_x_frame_options (const gchar *options);
59 
60 const gchar *
62 
63 void
64 set_http_cors_origin (const gchar *origin);
65 
66 const gchar *
68 
69 void
70 set_http_guest_chart_x_frame_options (const gchar *options);
71 
72 const gchar *
74 
75 void
77 
78 const gchar *
80 
81 void
82 set_http_strict_transport_security (const gchar *policy);
83 
84 const gchar *
86 
87 void
88 set_ignore_http_x_real_ip (gboolean ignore);
89 
90 gboolean
92 
93 void
94 set_per_ip_connection_limit (int limit);
95 
96 int
98 
99 void
100 set_unix_socket (int socket);
101 
102 gboolean
103 is_unix_socket ();
104 
105 void
106 set_guest_username (const gchar *);
107 
108 const gchar *
110 
111 void
112 set_guest_password (const gchar *);
113 
114 const gchar *
116 
117 gboolean
119 
120 #endif /* _GSAD_SETTINGS_H */
gboolean get_ignore_http_x_real_ip()
void vendor_version_set(const gchar *)
Set the vendor version.
const gchar * get_http_guest_chart_x_frame_options()
void set_http_guest_chart_content_security_policy(const gchar *policy)
const gchar * get_guest_username()
void set_http_x_frame_options(const gchar *options)
void set_per_ip_connection_limit(int limit)
gboolean is_use_secure_cookie()
void set_unix_socket(int socket)
void set_session_timeout(int timeout)
void set_http_cors_origin(const gchar *origin)
const gchar * get_http_strict_transport_security()
void set_http_guest_chart_x_frame_options(const gchar *options)
const gchar * vendor_version_get()
Get the vendor version.
const gchar * get_http_content_security_policy()
const gchar * get_guest_password()
const gchar * get_http_guest_chart_content_security_policy()
int get_session_timeout()
void set_guest_username(const gchar *)
int get_per_ip_connection_limit()
const gchar * get_http_cors_origin()
gboolean is_unix_socket()
void set_use_secure_cookie(int use)
void set_http_content_security_policy(const gchar *policy)
void set_ignore_http_x_real_ip(gboolean ignore)
void set_guest_password(const gchar *)
const gchar * get_http_x_frame_options()
gboolean is_ignore_http_x_real_ip()
void set_http_strict_transport_security(const gchar *policy)
int label_name_set(const gchar *)
Set the login label.