| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file contains prototypes for the public SSL functions. | 2 * This file contains prototypes for the public SSL functions. |
| 3 * | 3 * |
| 4 * ***** BEGIN LICENSE BLOCK ***** | 4 * ***** BEGIN LICENSE BLOCK ***** |
| 5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 6 * | 6 * |
| 7 * The contents of this file are subject to the Mozilla Public License Version | 7 * The contents of this file are subject to the Mozilla Public License Version |
| 8 * 1.1 (the "License"); you may not use this file except in compliance with | 8 * 1.1 (the "License"); you may not use this file except in compliance with |
| 9 * the License. You may obtain a copy of the License at | 9 * the License. You may obtain a copy of the License at |
| 10 * http://www.mozilla.org/MPL/ | 10 * http://www.mozilla.org/MPL/ |
| (...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1014 SSL_IMPORT SECStatus SSL_SetClientChannelIDCallback( | 1014 SSL_IMPORT SECStatus SSL_SetClientChannelIDCallback( |
| 1015 PRFileDesc *fd, | 1015 PRFileDesc *fd, |
| 1016 SSLClientChannelIDCallback callback, | 1016 SSLClientChannelIDCallback callback, |
| 1017 void *arg); | 1017 void *arg); |
| 1018 | 1018 |
| 1019 /* | 1019 /* |
| 1020 ** How long should we wait before retransmitting the next flight of | 1020 ** How long should we wait before retransmitting the next flight of |
| 1021 ** the DTLS handshake? Returns SECFailure if not DTLS or not in a | 1021 ** the DTLS handshake? Returns SECFailure if not DTLS or not in a |
| 1022 ** handshake. | 1022 ** handshake. |
| 1023 */ | 1023 */ |
| 1024 SSL_IMPORT SECStatus DTLS_GetTimeout(PRFileDesc *socket, | 1024 SSL_IMPORT SECStatus DTLS_GetHandshakeTimeout(PRFileDesc *socket, |
| 1025 PRIntervalTime *timeout); | 1025 PRIntervalTime *timeout); |
| 1026 | 1026 |
| 1027 /* | 1027 /* |
| 1028 * Return a boolean that indicates whether the underlying library | 1028 * Return a boolean that indicates whether the underlying library |
| 1029 * will perform as the caller expects. | 1029 * will perform as the caller expects. |
| 1030 * | 1030 * |
| 1031 * The only argument is a string, which should be the version | 1031 * The only argument is a string, which should be the version |
| 1032 * identifier of the NSS library. That string will be compared | 1032 * identifier of the NSS library. That string will be compared |
| 1033 * against a string that represents the actual build version of | 1033 * against a string that represents the actual build version of |
| 1034 * the SSL library. It also invokes the version checking functions | 1034 * the SSL library. It also invokes the version checking functions |
| 1035 * of the dependent libraries such as NSPR. | 1035 * of the dependent libraries such as NSPR. |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1100 * should continue using the connection. If the application passes a non-zero | 1100 * should continue using the connection. If the application passes a non-zero |
| 1101 * value for second argument (error), or if SSL_AuthCertificateComplete returns | 1101 * value for second argument (error), or if SSL_AuthCertificateComplete returns |
| 1102 * anything other than SECSuccess, then the application should close the | 1102 * anything other than SECSuccess, then the application should close the |
| 1103 * connection. | 1103 * connection. |
| 1104 */ | 1104 */ |
| 1105 SSL_IMPORT SECStatus SSL_AuthCertificateComplete(PRFileDesc *fd, | 1105 SSL_IMPORT SECStatus SSL_AuthCertificateComplete(PRFileDesc *fd, |
| 1106 PRErrorCode error); | 1106 PRErrorCode error); |
| 1107 SEC_END_PROTOS | 1107 SEC_END_PROTOS |
| 1108 | 1108 |
| 1109 #endif /* __ssl_h_ */ | 1109 #endif /* __ssl_h_ */ |
| OLD | NEW |