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 18 matching lines...) Expand all Loading... |
29 * in which case the provisions of the GPL or the LGPL are applicable instead | 29 * in which case the provisions of the GPL or the LGPL are applicable instead |
30 * of those above. If you wish to allow use of your version of this file only | 30 * of those above. If you wish to allow use of your version of this file only |
31 * under the terms of either the GPL or the LGPL, and not to allow others to | 31 * under the terms of either the GPL or the LGPL, and not to allow others to |
32 * use your version of this file under the terms of the MPL, indicate your | 32 * use your version of this file under the terms of the MPL, indicate your |
33 * decision by deleting the provisions above and replace them with the notice | 33 * decision by deleting the provisions above and replace them with the notice |
34 * and other provisions required by the GPL or the LGPL. If you do not delete | 34 * and other provisions required by the GPL or the LGPL. If you do not delete |
35 * the provisions above, a recipient may use your version of this file under | 35 * the provisions above, a recipient may use your version of this file under |
36 * the terms of any one of the MPL, the GPL or the LGPL. | 36 * the terms of any one of the MPL, the GPL or the LGPL. |
37 * | 37 * |
38 * ***** END LICENSE BLOCK ***** */ | 38 * ***** END LICENSE BLOCK ***** */ |
39 /* $Id: ssl.h,v 1.38 2010/02/17 02:29:07 wtc%google.com Exp $ */ | 39 /* $Id: ssl.h,v 1.38.2.1 2010/07/31 04:33:52 wtc%google.com Exp $ */ |
40 | 40 |
41 #ifndef __ssl_h_ | 41 #ifndef __ssl_h_ |
42 #define __ssl_h_ | 42 #define __ssl_h_ |
43 | 43 |
44 #include "prtypes.h" | 44 #include "prtypes.h" |
45 #include "prerror.h" | 45 #include "prerror.h" |
46 #include "prio.h" | 46 #include "prio.h" |
47 #include "seccomon.h" | 47 #include "seccomon.h" |
48 #include "cert.h" | 48 #include "cert.h" |
49 #include "keyt.h" | 49 #include "keyt.h" |
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 ** Did the handshake with the peer negotiate the given extension? | 752 ** Did the handshake with the peer negotiate the given extension? |
753 ** Output parameter valid only if function returns SECSuccess | 753 ** Output parameter valid only if function returns SECSuccess |
754 */ | 754 */ |
755 SSL_IMPORT SECStatus SSL_HandshakeNegotiatedExtension(PRFileDesc * socket, | 755 SSL_IMPORT SECStatus SSL_HandshakeNegotiatedExtension(PRFileDesc * socket, |
756 SSLExtensionType extId, | 756 SSLExtensionType extId, |
757 PRBool *yes); | 757 PRBool *yes); |
758 | 758 |
759 SEC_END_PROTOS | 759 SEC_END_PROTOS |
760 | 760 |
761 #endif /* __ssl_h_ */ | 761 #endif /* __ssl_h_ */ |
OLD | NEW |