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 * This Source Code Form is subject to the terms of the Mozilla Public | 5 * This Source Code Form is subject to the terms of the Mozilla Public |
6 * License, v. 2.0. If a copy of the MPL was not distributed with this | 6 * License, v. 2.0. If a copy of the MPL was not distributed with this |
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
8 | 8 |
9 #ifndef __sslimpl_h_ | 9 #ifndef __sslimpl_h_ |
10 #define __sslimpl_h_ | 10 #define __sslimpl_h_ |
(...skipping 1675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1686 | 1686 |
1687 extern SECStatus ssl3_CipherPrefSetDefault(ssl3CipherSuite which, PRBool on); | 1687 extern SECStatus ssl3_CipherPrefSetDefault(ssl3CipherSuite which, PRBool on); |
1688 extern SECStatus ssl3_CipherPrefGetDefault(ssl3CipherSuite which, PRBool *on); | 1688 extern SECStatus ssl3_CipherPrefGetDefault(ssl3CipherSuite which, PRBool *on); |
1689 extern SECStatus ssl2_CipherPrefSetDefault(PRInt32 which, PRBool enabled); | 1689 extern SECStatus ssl2_CipherPrefSetDefault(PRInt32 which, PRBool enabled); |
1690 extern SECStatus ssl2_CipherPrefGetDefault(PRInt32 which, PRBool *enabled); | 1690 extern SECStatus ssl2_CipherPrefGetDefault(PRInt32 which, PRBool *enabled); |
1691 | 1691 |
1692 extern SECStatus ssl3_CipherPrefSet(sslSocket *ss, ssl3CipherSuite which, PRBool
on); | 1692 extern SECStatus ssl3_CipherPrefSet(sslSocket *ss, ssl3CipherSuite which, PRBool
on); |
1693 extern SECStatus ssl3_CipherPrefGet(sslSocket *ss, ssl3CipherSuite which, PRBool
*on); | 1693 extern SECStatus ssl3_CipherPrefGet(sslSocket *ss, ssl3CipherSuite which, PRBool
*on); |
1694 extern SECStatus ssl2_CipherPrefSet(sslSocket *ss, PRInt32 which, PRBool enabled
); | 1694 extern SECStatus ssl2_CipherPrefSet(sslSocket *ss, PRInt32 which, PRBool enabled
); |
1695 extern SECStatus ssl2_CipherPrefGet(sslSocket *ss, PRInt32 which, PRBool *enable
d); | 1695 extern SECStatus ssl2_CipherPrefGet(sslSocket *ss, PRInt32 which, PRBool *enable
d); |
| 1696 extern SECStatus ssl3_CipherOrderSet(sslSocket *ss, const ssl3CipherSuite *ciphe
r, |
| 1697 unsigned int len); |
1696 | 1698 |
1697 extern SECStatus ssl3_SetPolicy(ssl3CipherSuite which, PRInt32 policy); | 1699 extern SECStatus ssl3_SetPolicy(ssl3CipherSuite which, PRInt32 policy); |
1698 extern SECStatus ssl3_GetPolicy(ssl3CipherSuite which, PRInt32 *policy); | 1700 extern SECStatus ssl3_GetPolicy(ssl3CipherSuite which, PRInt32 *policy); |
1699 extern SECStatus ssl2_SetPolicy(PRInt32 which, PRInt32 policy); | 1701 extern SECStatus ssl2_SetPolicy(PRInt32 which, PRInt32 policy); |
1700 extern SECStatus ssl2_GetPolicy(PRInt32 which, PRInt32 *policy); | 1702 extern SECStatus ssl2_GetPolicy(PRInt32 which, PRInt32 *policy); |
1701 | 1703 |
1702 extern void ssl2_InitSocketPolicy(sslSocket *ss); | 1704 extern void ssl2_InitSocketPolicy(sslSocket *ss); |
1703 extern void ssl3_InitSocketPolicy(sslSocket *ss); | 1705 extern void ssl3_InitSocketPolicy(sslSocket *ss); |
1704 | 1706 |
1705 extern SECStatus ssl3_ConstructV2CipherSpecsHack(sslSocket *ss, | 1707 extern SECStatus ssl3_ConstructV2CipherSpecsHack(sslSocket *ss, |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1970 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) | 1972 #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) |
1971 #define SSL_GETPID getpid | 1973 #define SSL_GETPID getpid |
1972 #elif defined(WIN32) | 1974 #elif defined(WIN32) |
1973 extern int __cdecl _getpid(void); | 1975 extern int __cdecl _getpid(void); |
1974 #define SSL_GETPID _getpid | 1976 #define SSL_GETPID _getpid |
1975 #else | 1977 #else |
1976 #define SSL_GETPID() 0 | 1978 #define SSL_GETPID() 0 |
1977 #endif | 1979 #endif |
1978 | 1980 |
1979 #endif /* __sslimpl_h_ */ | 1981 #endif /* __sslimpl_h_ */ |
OLD | NEW |