Statistics
| Revision:

root / src / sslmanager.h @ 1857

History | View | Annotate | Download (1.1 kB)

1 1415 hiro
/*
2 1415 hiro
 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 1415 hiro
 * Copyright (C) 1999-2006 Hiroyuki Yamamoto
4 1415 hiro
 *
5 1415 hiro
 * This program is free software; you can redistribute it and/or modify
6 1415 hiro
 * it under the terms of the GNU General Public License as published by
7 1415 hiro
 * the Free Software Foundation; either version 2 of the License, or
8 1415 hiro
 * (at your option) any later version.
9 1415 hiro
 *
10 1415 hiro
 * This program is distributed in the hope that it will be useful,
11 1415 hiro
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 1415 hiro
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 1415 hiro
 * GNU General Public License for more details.
14 1415 hiro
 *
15 1415 hiro
 * You should have received a copy of the GNU General Public License
16 1415 hiro
 * along with this program; if not, write to the Free Software
17 1415 hiro
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 1415 hiro
 */
19 1415 hiro
20 1415 hiro
#ifndef __SSLMANAGER_H__
21 1415 hiro
#define __SSLMANAGER_H__
22 1415 hiro
23 1415 hiro
#ifdef HAVE_CONFIG_H
24 1415 hiro
#  include "config.h"
25 1415 hiro
#endif
26 1415 hiro
27 1415 hiro
#if USE_SSL
28 1415 hiro
29 1415 hiro
#include <glib.h>
30 1415 hiro
31 1415 hiro
#include "ssl.h"
32 1415 hiro
33 1415 hiro
gint ssl_manager_verify_cert        (SockInfo        *sockinfo,
34 1415 hiro
                                 const gchar        *hostname,
35 1415 hiro
                                 X509                *server_cert,
36 1415 hiro
                                 glong                 verify_result);
37 1415 hiro
38 1415 hiro
#endif /* USE_SSL */
39 1415 hiro
40 1415 hiro
#endif /* __MAIN_H__ */