OpenVAS Libraries
4.0+rc3.SVN
|
00001 /* openvas-libraries/base 00002 * $Id$ 00003 * Description: File utilities. 00004 * 00005 * Authors: 00006 * Matthew Mundell <matthew.mundell@greenbone.net> 00007 * Michael Wiegand <michael.wiegand@greenbone.net 00008 * Felix Wolfsteller <felix.wolfsteller@greenbone.net> 00009 * 00010 * Copyright: 00011 * Copyright (C) 2009,2010 Greenbone Networks GmbH 00012 * 00013 * This program is free software; you can redistribute it and/or modify 00014 * it under the terms of the GNU General Public License version 2, 00015 * or, at your option, any later version as published by the Free 00016 * Software Foundation 00017 * 00018 * This program is distributed in the hope that it will be useful, 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 * GNU General Public License for more details. 00022 * 00023 * You should have received a copy of the GNU General Public License 00024 * along with this program; if not, write to the Free Software 00025 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 00026 */ 00027 00028 #ifndef _OPENVAS_FILE_H 00029 #define _OPENVAS_FILE_H 00030 00031 #include <glib.h> 00032 00033 int openvas_file_check_is_dir (const char *name); 00034 00035 int openvas_file_remove_recurse (const gchar * pathname); 00036 00037 gchar *openvas_file_read_b64_encode (const gchar * filename); 00038 00039 #endif /* not _OPENVAS_FILE_H */