]> sjero.net Git - wget/blob - src/ssl.h
Automated merge with file:/home/micah/devel/wget/eleven
[wget] / src / ssl.h
1 /* SSL support.
2    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
3    Software Foundation, Inc.
4    Originally contributed by Christian Fraenkel.
5
6 This file is part of GNU Wget.
7
8 GNU Wget is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
12
13 GNU Wget is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License along
19 with Wget.  If not, see <http://www.gnu.org/licenses/>.
20
21 In addition, as a special exception, the Free Software Foundation
22 gives permission to link the code of its release of Wget with the
23 OpenSSL project's "OpenSSL" library (or with modified versions of it
24 that use the same license as the "OpenSSL" library), and distribute
25 the linked executables.  You must obey the GNU General Public License
26 in all respects for all of the code used other than "OpenSSL".  If you
27 modify this file, you may extend this exception to your version of the
28 file, but you are not obligated to do so.  If you do not wish to do
29 so, delete this exception statement from your version.  */
30
31 #ifndef GEN_SSLFUNC_H
32 #define GEN_SSLFUNC_H
33
34 bool ssl_init (void);
35 bool ssl_connect (int);
36 bool ssl_check_certificate (int, const char *);
37
38 #endif /* GEN_SSLFUNC_H */