OpenVAS Libraries
4.0+rc3.SVN
|
00001 /* OpenVAS Libraries 00002 * $Id$ 00003 * Description: Functions to write and read a g_hash_table to / from a file. 00004 * 00005 * Authors: 00006 * Felix Wolfsteller <felix.wolfsteller@intevation.de> 00007 * 00008 * Copyright: 00009 * Copyright (C) 2009 Greenbone Networks GmbH 00010 * 00011 * This program is free software; you can redistribute it and/or modify 00012 * it under the terms of the GNU General Public License version 2, 00013 * or, at your option, any later version as published by the Free 00014 * Software Foundation 00015 * 00016 * This program is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU General Public License 00022 * along with this program; if not, write to the Free Software 00023 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 00024 */ 00025 00031 #ifndef _OPENVAS_CLIENT_HASH_TABLE_FILE_H 00032 #define _OPENVAS_CLIENT_HASH_TABLE_FILE_H 00033 00034 #include <glib.h> 00035 00036 gboolean hash_table_file_write (GHashTable * ghashtable, const char *filename); 00037 GHashTable *hash_table_file_read (const char *filename); 00038 GHashTable *hash_table_file_read_text (const char *text, gsize length); 00039 00040 #endif