OpenVAS Libraries  6.0+beta5
openvas_file.h
Go to the documentation of this file.
1 /* openvas-libraries/base
2  * $Id$
3  * Description: File utilities.
4  *
5  * Authors:
6  * Matthew Mundell <matthew.mundell@greenbone.net>
7  * Michael Wiegand <michael.wiegand@greenbone.net
8  * Felix Wolfsteller <felix.wolfsteller@greenbone.net>
9  *
10  * Copyright:
11  * Copyright (C) 2009,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_FILE_H
29 #define _OPENVAS_FILE_H
30 
31 #include <glib.h>
32 #include <gio/gio.h>
33 
34 int openvas_file_check_is_dir (const char *name);
35 
36 int openvas_file_remove_recurse (const gchar * pathname);
37 
38 gchar *openvas_file_read_b64_encode (const gchar * filename);
39 
40 gboolean openvas_file_copy (const gchar *, const gchar *);
41 
42 gboolean openvas_file_move (const gchar *, const gchar *);
43 
44 #endif /* not _OPENVAS_FILE_H */