gen_sslfunc.h

来自「wget (command line browser) source code」· C头文件 代码 · 共 50 行

H
50
字号
/* SSL support.   Copyright (C) 2000 Free Software Foundation, Inc.   Contributed by Christian Fraenkel.This file is part of GNU Wget.GNU Wget is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or(at your option) any later version.GNU Wget is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with Wget; if not, write to the Free SoftwareFoundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.In addition, as a special exception, the Free Software Foundationgives permission to link the code of its release of Wget with theOpenSSL project's "OpenSSL" library (or with modified versions of itthat use the same license as the "OpenSSL" library), and distributethe linked executables.  You must obey the GNU General Public Licensein all respects for all of the code used other than "OpenSSL".  If youmodify this file, you may extend this exception to your version of thefile, but you are not obligated to do so.  If you do not wish to doso, delete this exception statement from your version.  */#ifndef GEN_SSLFUNC_H#define GEN_SSLFUNC_H#ifdef HAVE_SSL# include <openssl/ssl.h>#endifvoid ssl_init_prng PARAMS ((void));int init_ssl PARAMS ((SSL_CTX **));int connect_ssl PARAMS ((SSL **, SSL_CTX *, int));void shutdown_ssl PARAMS ((SSL*));void free_ssl_ctx PARAMS ((SSL_CTX *));int verify_callback PARAMS ((int, X509_STORE_CTX *));int ssl_iread PARAMS ((SSL *, char *, int));int ssl_iwrite PARAMS ((SSL *, char *, int));int ssl_printerrors PARAMS ((void)); #endif /* GEN_SSLFUNC_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?