⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qsslsocket_openssl_symbols_p.h

📁 奇趣公司比较新的qt/emd版本
💻 H
📖 第 1 页 / 共 2 页
字号:
/******************************************************************************** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved.**** This file is part of the QtNetwork module of the Qt Toolkit.**** This file may be used under the terms of the GNU General Public** License version 2.0 as published by the Free Software Foundation** and appearing in the file LICENSE.GPL included in the packaging of** this file.  Please review the following information to ensure GNU** General Public Licensing requirements will be met:** http://trolltech.com/products/qt/licenses/licensing/opensource/**** If you are unsure which license is appropriate for your use, please** review the following information:** http://trolltech.com/products/qt/licenses/licensing/licensingoverview** or contact the sales department at sales@trolltech.com.**** In addition, as a special exception, Trolltech gives you certain** additional rights. These rights are described in the Trolltech GPL** Exception version 1.0, which can be found at** http://www.trolltech.com/products/qt/gplexception/ and in the file** GPL_EXCEPTION.txt in this package.**** In addition, as a special exception, Trolltech, as the sole copyright** holder for Qt Designer, grants users of the Qt/Eclipse Integration** plug-in the right for the Qt/Eclipse Integration to link to** functionality provided by Qt Designer and its related libraries.**** Trolltech reserves all rights not expressly granted herein.**** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.******************************************************************************//******************************************************************************** In addition, as a special exception, Trolltech gives permission to link** the code of its release of Qt with the OpenSSL project's "OpenSSL" library** (or modified versions of the "OpenSSL" library that use the same license** as the original version), and distribute the linked executables.**** You must comply with the GNU General Public License version 2 in all** respects for all of the code used other than the "OpenSSL" code.  If you** modify this file, you may extend this exception to your version of the file,** but you are not obligated to do so.  If you do not wish to do so, delete** this exception statement from your version of this file.******************************************************************************/#ifndef QSSLSOCKET_OPENSSL_SYMBOLS_P_H#define QSSLSOCKET_OPENSSL_SYMBOLS_P_H////  W A R N I N G//  -------------//// This file is not part of the Qt API.  It exists for the convenience// of the QLibrary class.  This header file may change from// version to version without notice, or even be removed.//// We mean it.//#include "qsslsocket_openssl_p.h"#define DUMMYARG#ifdef QT_SHARED// **************** Shared declarations ******************// ret func(arg)#  define DEFINEFUNC(ret, func, arg, a, err, funcret)				\    typedef ret (*_q_PTR_##func)(arg);					\    static _q_PTR_##func _q_##func = 0;					\    ret q_##func(arg) {						\        if (!_q_##func) {				\            qWarning("QSslSocket: cannot call unresolved function "#func);	\            err;								\        } \        funcret _q_##func(a); \    }// ret func(arg1, arg2)#  define DEFINEFUNC2(ret, func, arg1, a, arg2, b, err, funcret) \    typedef ret (*_q_PTR_##func)(arg1, arg2);         \    static _q_PTR_##func _q_##func = 0;               \    ret q_##func(arg1, arg2) { \        if (!_q_##func) { \            qWarning("QSslSocket: cannot call unresolved function "#func);\            err; \        } \        funcret _q_##func(a, b); \    }// ret func(arg1, arg2, arg3)#  define DEFINEFUNC3(ret, func, arg1, a, arg2, b, arg3, c, err, funcret) \    typedef ret (*_q_PTR_##func)(arg1, arg2, arg3);            \    static _q_PTR_##func _q_##func = 0;                        \    ret q_##func(arg1, arg2, arg3) { \        if (!_q_##func) { \            qWarning("QSslSocket: cannot call unresolved function "#func); \            err; \        } \        funcret _q_##func(a, b, c); \    }// ret func(arg1, arg2, arg3, arg4)#  define DEFINEFUNC4(ret, func, arg1, a, arg2, b, arg3, c, arg4, d, err, funcret) \    typedef ret (*_q_PTR_##func)(arg1, arg2, arg3, arg4);               \    static _q_PTR_##func _q_##func = 0;                                 \    ret q_##func(arg1, arg2, arg3, arg4) { \         if (!_q_##func) { \             qWarning("QSslSocket: cannot call unresolved function "#func); \             err; \         } \         funcret _q_##func(a, b, c, d); \    }// ret func(arg1, arg2, arg3, arg4, arg5)#  define DEFINEFUNC5(ret, func, arg1, a, arg2, b, arg3, c, arg4, d, arg5, e, err, funcret) \    typedef ret (*_q_PTR_##func)(arg1, arg2, arg3, arg4, arg5);         \    static _q_PTR_##func _q_##func = 0;                                 \    ret q_##func(arg1, arg2, arg3, arg4, arg5) { \        if (!_q_##func) { \            qWarning("QSslSocket: cannot call unresolved function "#func); \            err; \        } \        funcret _q_##func(a, b, c, d, e); \    }// ret func(arg1, arg2, arg3, arg4, arg6)#  define DEFINEFUNC6(ret, func, arg1, a, arg2, b, arg3, c, arg4, d, arg5, e, arg6, f, err, funcret) \    typedef ret (*_q_PTR_##func)(arg1, arg2, arg3, arg4, arg5, arg6);   \    static _q_PTR_##func _q_##func = 0;                                 \    ret q_##func(arg1, arg2, arg3, arg4, arg5, arg6) { \        if (!_q_##func) { \            qWarning("QSslSocket: cannot call unresolved function "#func); \            err; \        } \        funcret _q_##func(a, b, c, d, e, f); \    }// ret func(arg1, arg2, arg3, arg4, arg6, arg7)#  define DEFINEFUNC7(ret, func, arg1, a, arg2, b, arg3, c, arg4, d, arg5, e, arg6, f, arg7, g, err, funcret) \    typedef ret (*_q_PTR_##func)(arg1, arg2, arg3, arg4, arg5, arg6, arg7);   \    static _q_PTR_##func _q_##func = 0;                                       \    ret q_##func(arg1, arg2, arg3, arg4, arg5, arg6, arg7) { \        if (!_q_##func) { \            qWarning("QSslSocket: cannot call unresolved function "#func); \            err; \        } \        funcret _q_##func(a, b, c, d, e, f, g); \    }// ret func(arg1, arg2, arg3, arg4, arg6, arg7, arg8, arg9)#  define DEFINEFUNC9(ret, func, arg1, a, arg2, b, arg3, c, arg4, d, arg5, e, arg6, f, arg7, g, arg8, h, arg9, i, err, funcret) \    typedef ret (*_q_PTR_##func)(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);   \    static _q_PTR_##func _q_##func = 0;                                                   \    ret q_##func(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { \        if (_q_##func) { \            qWarning("QSslSocket: cannot call unresolved function "#func); \            err; \        }   \        funcret _q_##func(a, b, c, d, e, f, g, h, i); \    }// **************** Shared declarations ******************#else // !defined QT_SHARED// **************** Static declarations ******************// ret func(arg)#  define DEFINEFUNC(ret, func, arg, a, err, funcret)				\    ret q_##func(arg) {	funcret func(a); }// ret func(arg1, arg2)#  define DEFINEFUNC2(ret, func, arg1, a, arg2, b, err, funcret) \    ret q_##func(arg1, arg2) { funcret func(a, b); }// ret func(arg1, arg2, arg3)#  define DEFINEFUNC3(ret, func, arg1, a, arg2, b, arg3, c, err, funcret) \    ret q_##func(arg1, arg2, arg3) { funcret func(a, b, c); }// ret func(arg1, arg2, arg3, arg4)#  define DEFINEFUNC4(ret, func, arg1, a, arg2, b, arg3, c, arg4, d, err, funcret) \    ret q_##func(arg1, arg2, arg3, arg4) { funcret func(a, b, c, d); }// ret func(arg1, arg2, arg3, arg4, arg5)#  define DEFINEFUNC5(ret, func, arg1, a, arg2, b, arg3, c, arg4, d, arg5, e, err, funcret) \    ret q_##func(arg1, arg2, arg3, arg4, arg5) { funcret func(a, b, c, d, e); }// ret func(arg1, arg2, arg3, arg4, arg6)

⌨️ 快捷键说明

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