| 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 * This Source Code Form is subject to the terms of the Mozilla Public |
| 5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 5 * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 6 * | 6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 7 * The contents of this file are subject to the Mozilla Public License Version | 7 /* $Id: sslt.h,v 1.23 2012/06/07 02:06:19 wtc%google.com Exp $ */ |
| 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 | |
| 10 * http://www.mozilla.org/MPL/ | |
| 11 * | |
| 12 * Software distributed under the License is distributed on an "AS IS" basis, | |
| 13 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | |
| 14 * for the specific language governing rights and limitations under the | |
| 15 * License. | |
| 16 * | |
| 17 * The Original Code is the Netscape security libraries. | |
| 18 * | |
| 19 * The Initial Developer of the Original Code is | |
| 20 * Netscape Communications Corporation. | |
| 21 * Portions created by the Initial Developer are Copyright (C) 1994-2000 | |
| 22 * the Initial Developer. All Rights Reserved. | |
| 23 * | |
| 24 * Contributor(s): | |
| 25 * Dr Vipul Gupta <vipul.gupta@sun.com>, Sun Microsystems Laboratories | |
| 26 * | |
| 27 * Alternatively, the contents of this file may be used under the terms of | |
| 28 * either the GNU General Public License Version 2 or later (the "GPL"), or | |
| 29 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), | |
| 30 * in which case the provisions of the GPL or the LGPL are applicable instead | |
| 31 * of those above. If you wish to allow use of your version of this file only | |
| 32 * under the terms of either the GPL or the LGPL, and not to allow others to | |
| 33 * use your version of this file under the terms of the MPL, indicate your | |
| 34 * decision by deleting the provisions above and replace them with the notice | |
| 35 * and other provisions required by the GPL or the LGPL. If you do not delete | |
| 36 * the provisions above, a recipient may use your version of this file under | |
| 37 * the terms of any one of the MPL, the GPL or the LGPL. | |
| 38 * | |
| 39 * ***** END LICENSE BLOCK ***** */ | |
| 40 /* $Id: sslt.h,v 1.20 2012/03/16 01:23:55 wtc%google.com Exp $ */ | |
| 41 | 8 |
| 42 #ifndef __sslt_h_ | 9 #ifndef __sslt_h_ |
| 43 #define __sslt_h_ | 10 #define __sslt_h_ |
| 44 | 11 |
| 45 #include "prtypes.h" | 12 #include "prtypes.h" |
| 46 | 13 |
| 47 typedef struct SSL3StatisticsStr { | 14 typedef struct SSL3StatisticsStr { |
| 48 /* statistics from ssl3_SendClientHello (sch) */ | 15 /* statistics from ssl3_SendClientHello (sch) */ |
| 49 long sch_sid_cache_hits; | 16 long sch_sid_cache_hits; |
| 50 long sch_sid_cache_misses; | 17 long sch_sid_cache_misses; |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 ssl_use_srtp_xtn = 14, | 183 ssl_use_srtp_xtn = 14, |
| 217 ssl_session_ticket_xtn = 35, | 184 ssl_session_ticket_xtn = 35, |
| 218 ssl_next_proto_nego_xtn = 13172, | 185 ssl_next_proto_nego_xtn = 13172, |
| 219 ssl_channel_id_xtn = 30031, | 186 ssl_channel_id_xtn = 30031, |
| 220 ssl_renegotiation_info_xtn = 0xff01 /* experimental number */ | 187 ssl_renegotiation_info_xtn = 0xff01 /* experimental number */ |
| 221 } SSLExtensionType; | 188 } SSLExtensionType; |
| 222 | 189 |
| 223 #define SSL_MAX_EXTENSIONS 9 | 190 #define SSL_MAX_EXTENSIONS 9 |
| 224 | 191 |
| 225 #endif /* __sslt_h_ */ | 192 #endif /* __sslt_h_ */ |
| OLD | NEW |