| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is PRIVATE to SSL and should be the first thing included by | 2 * This file is PRIVATE to SSL and should be the first thing included by |
| 3 * any SSL implementation file. | 3 * any SSL implementation file. |
| 4 * | 4 * |
| 5 * ***** BEGIN LICENSE BLOCK ***** | 5 * ***** BEGIN LICENSE BLOCK ***** |
| 6 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 6 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 7 * | 7 * |
| 8 * The contents of this file are subject to the Mozilla Public License Version | 8 * The contents of this file are subject to the Mozilla Public License Version |
| 9 * 1.1 (the "License"); you may not use this file except in compliance with | 9 * 1.1 (the "License"); you may not use this file except in compliance with |
| 10 * the License. You may obtain a copy of the License at | 10 * the License. You may obtain a copy of the License at |
| (...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1191 #endif /* NSS_PLATFORM_CLIENT_AUTH */ | 1191 #endif /* NSS_PLATFORM_CLIENT_AUTH */ |
| 1192 SSLSNISocketConfig sniSocketConfig; | 1192 SSLSNISocketConfig sniSocketConfig; |
| 1193 void *sniSocketConfigArg; | 1193 void *sniSocketConfigArg; |
| 1194 SSLBadCertHandler handleBadCert; | 1194 SSLBadCertHandler handleBadCert; |
| 1195 void *badCertArg; | 1195 void *badCertArg; |
| 1196 SSLHandshakeCallback handshakeCallback; | 1196 SSLHandshakeCallback handshakeCallback; |
| 1197 void *handshakeCallbackData; | 1197 void *handshakeCallbackData; |
| 1198 void *pkcs11PinArg; | 1198 void *pkcs11PinArg; |
| 1199 SSLNextProtoCallback nextProtoCallback; | 1199 SSLNextProtoCallback nextProtoCallback; |
| 1200 void *nextProtoArg; | 1200 void *nextProtoArg; |
| 1201 SSLClientChannelIDCallback getChannelID; |
| 1202 void *getChannelIDArg; |
| 1201 | 1203 |
| 1202 PRIntervalTime rTimeout; /* timeout for NSPR I/O */ | 1204 PRIntervalTime rTimeout; /* timeout for NSPR I/O */ |
| 1203 PRIntervalTime wTimeout; /* timeout for NSPR I/O */ | 1205 PRIntervalTime wTimeout; /* timeout for NSPR I/O */ |
| 1204 PRIntervalTime cTimeout; /* timeout for NSPR I/O */ | 1206 PRIntervalTime cTimeout; /* timeout for NSPR I/O */ |
| 1205 | 1207 |
| 1206 PZLock * recvLock; /* lock against multiple reader threads. */ | 1208 PZLock * recvLock; /* lock against multiple reader threads. */ |
| 1207 PZLock * sendLock; /* lock against multiple sender threads. */ | 1209 PZLock * sendLock; /* lock against multiple sender threads. */ |
| 1208 | 1210 |
| 1209 PZMonitor * recvBufLock; /* locks low level recv buffers. */ | 1211 PZMonitor * recvBufLock; /* locks low level recv buffers. */ |
| 1210 PZMonitor * xmitBufLock; /* locks low level xmit buffers. */ | 1212 PZMonitor * xmitBufLock; /* locks low level xmit buffers. */ |
| (...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1896 #elif defined(_WIN32_WCE) | 1898 #elif defined(_WIN32_WCE) |
| 1897 #define SSL_GETPID GetCurrentProcessId | 1899 #define SSL_GETPID GetCurrentProcessId |
| 1898 #elif defined(WIN32) | 1900 #elif defined(WIN32) |
| 1899 extern int __cdecl _getpid(void); | 1901 extern int __cdecl _getpid(void); |
| 1900 #define SSL_GETPID _getpid | 1902 #define SSL_GETPID _getpid |
| 1901 #else | 1903 #else |
| 1902 #define SSL_GETPID() 0 | 1904 #define SSL_GETPID() 0 |
| 1903 #endif | 1905 #endif |
| 1904 | 1906 |
| 1905 #endif /* __sslimpl_h_ */ | 1907 #endif /* __sslimpl_h_ */ |
| OLD | NEW |