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