2
Copyright (C) 2000 Free Software Foundation, Inc.
3
Contributed by Christian Fraenkel.
2
Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
3
2008 Free 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
8
9
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation; either version 2 of the License, or
10
the Free Software Foundation; either version 3 of the License, or
10
11
(at your option) any later version.
12
13
GNU Wget is distributed in the hope that it will be useful,
14
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
16
GNU General Public License for more details.
17
You should have received a copy of the GNU General Public License
18
along with Wget; if not, write to the Free Software
19
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
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. */
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/>.
21
Additional permission under GNU GPL version 3 section 7
23
If you modify this program, or any covered work, by linking or
24
combining it with the OpenSSL project's OpenSSL library (or a
25
modified version of that library), containing parts covered by the
26
terms of the OpenSSL or SSLeay licenses, the Free Software Foundation
27
grants you additional permission to convey the resulting work.
28
Corresponding Source for a non-source form of such a combination
29
shall include the source code for the parts of OpenSSL used as well
30
as that of the covered work. */
31
32
#ifndef GEN_SSLFUNC_H
32
33
#define GEN_SSLFUNC_H
34
int ssl_init PARAMS ((void));
35
int ssl_connect PARAMS ((int));
36
int ssl_check_certificate PARAMS ((int, const char *));
36
bool ssl_connect (int);
37
bool ssl_check_certificate (int, const char *);
38
39
#endif /* GEN_SSLFUNC_H */