Greenbone Security Assistant  8.0.0
gsad_base.h
Go to the documentation of this file.
1 /* Copyright (C) 2009-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_BASE_H
26 #define _GSAD_BASE_H
27 
28 #include "gsad_cmd.h" /* for cmd_response_data_t */
29 #include "gsad_user.h" /* for credentials_t */
30 
31 #include <glib.h>
32 #include <sys/time.h>
33 
34 int
36 
37 int
39 
40 void
41 set_chroot_state (int);
42 
43 void
44 set_http_only (int);
45 
46 char *
47 ctime_r_strip_newline (time_t *, char *);
48 
49 #endif /* not _GSAD_BASE_H */
Headers for Response Data struct.
void set_chroot_state(int)
Sets the chroot state.
Definition: gsad_base.c:86
int gsad_base_init()
Base init.
Definition: gsad_base.c:59
char * ctime_r_strip_newline(time_t *, char *)
Return string from ctime_r with newline replaces with terminator.
Definition: gsad_base.c:111
void set_http_only(int)
Sets the http_only state.
Definition: gsad_base.c:97
int gsad_base_cleanup()
Base init.
Definition: gsad_base.c:74
GSAD user handling.