Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Side by Side Diff: net/third_party/nss/ssl/os2_err.h

Issue 11275240: Update net/third_party/nss/ssl to NSS 3.14. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Upload before commit Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/third_party/nss/ssl/nsskea.c ('k') | net/third_party/nss/ssl/os2_err.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file essentially replicates NSPR's source for the functions that 2 * This file essentially replicates NSPR's source for the functions that
3 * map system-specific error codes to NSPR error codes. We would use 3 * map system-specific error codes to NSPR error codes. We would use
4 * NSPR's functions, instead of duplicating them, but they're private. 4 * NSPR's functions, instead of duplicating them, but they're private.
5 * As long as SSL's server session cache code must do platform native I/O 5 * As long as SSL's server session cache code must do platform native I/O
6 * to accomplish its job, and NSPR's error mapping functions remain private, 6 * to accomplish its job, and NSPR's error mapping functions remain private,
7 * This code will continue to need to be replicated. 7 * This code will continue to need to be replicated.
8 * 8 *
9 * ***** BEGIN LICENSE BLOCK ***** 9 * This Source Code Form is subject to the terms of the Mozilla Public
10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 10 * License, v. 2.0. If a copy of the MPL was not distributed with this
11 * 11 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
12 * The contents of this file are subject to the Mozilla Public License Version 12 /* $Id: os2_err.h,v 1.5 2012/04/25 14:50:12 gerv%gerv.net Exp $ */
13 * 1.1 (the "License"); you may not use this file except in compliance with
14 * the License. You may obtain a copy of the License at
15 * http://www.mozilla.org/MPL/
16 *
17 * Software distributed under the License is distributed on an "AS IS" basis,
18 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
19 * for the specific language governing rights and limitations under the
20 * License.
21 *
22 * The Original Code is the Netscape security libraries.
23 *
24 * The Initial Developer of the Original Code is
25 * Netscape Communications Corporation.
26 * Portions created by the Initial Developer are Copyright (C) 1994-2000
27 * the Initial Developer. All Rights Reserved.
28 *
29 * Contributor(s):
30 *
31 * Alternatively, the contents of this file may be used under the terms of
32 * either the GNU General Public License Version 2 or later (the "GPL"), or
33 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
34 * in which case the provisions of the GPL or the LGPL are applicable instead
35 * of those above. If you wish to allow use of your version of this file only
36 * under the terms of either the GPL or the LGPL, and not to allow others to
37 * use your version of this file under the terms of the MPL, indicate your
38 * decision by deleting the provisions above and replace them with the notice
39 * and other provisions required by the GPL or the LGPL. If you do not delete
40 * the provisions above, a recipient may use your version of this file under
41 * the terms of any one of the MPL, the GPL or the LGPL.
42 *
43 * ***** END LICENSE BLOCK ***** */
44 /* $Id: os2_err.h,v 1.4 2004/04/27 23:04:39 gerv%gerv.net Exp $ */
45 13
46 /* NSPR doesn't make these functions public, so we have to duplicate 14 /* NSPR doesn't make these functions public, so we have to duplicate
47 ** them in NSS. 15 ** them in NSS.
48 */ 16 */
49 17
50 //HCT Based on Win32err.h 18 //HCT Based on Win32err.h
51 extern void nss_MD_os2_map_accept_error(PRInt32 err); 19 extern void nss_MD_os2_map_accept_error(PRInt32 err);
52 extern void nss_MD_os2_map_acceptex_error(PRInt32 err); 20 extern void nss_MD_os2_map_acceptex_error(PRInt32 err);
53 extern void nss_MD_os2_map_access_error(PRInt32 err); 21 extern void nss_MD_os2_map_access_error(PRInt32 err);
54 extern void nss_MD_os2_map_bind_error(PRInt32 err); 22 extern void nss_MD_os2_map_bind_error(PRInt32 err);
(...skipping 22 matching lines...) Expand all
77 extern void nss_MD_os2_map_rmdir_error(PRInt32 err); 45 extern void nss_MD_os2_map_rmdir_error(PRInt32 err);
78 extern void nss_MD_os2_map_select_error(PRInt32 err); 46 extern void nss_MD_os2_map_select_error(PRInt32 err);
79 extern void nss_MD_os2_map_send_error(PRInt32 err); 47 extern void nss_MD_os2_map_send_error(PRInt32 err);
80 extern void nss_MD_os2_map_sendto_error(PRInt32 err); 48 extern void nss_MD_os2_map_sendto_error(PRInt32 err);
81 extern void nss_MD_os2_map_setsockopt_error(PRInt32 err); 49 extern void nss_MD_os2_map_setsockopt_error(PRInt32 err);
82 extern void nss_MD_os2_map_shutdown_error(PRInt32 err); 50 extern void nss_MD_os2_map_shutdown_error(PRInt32 err);
83 extern void nss_MD_os2_map_socket_error(PRInt32 err); 51 extern void nss_MD_os2_map_socket_error(PRInt32 err);
84 extern void nss_MD_os2_map_stat_error(PRInt32 err); 52 extern void nss_MD_os2_map_stat_error(PRInt32 err);
85 extern void nss_MD_os2_map_transmitfile_error(PRInt32 err); 53 extern void nss_MD_os2_map_transmitfile_error(PRInt32 err);
86 extern void nss_MD_os2_map_write_error(PRInt32 err); 54 extern void nss_MD_os2_map_write_error(PRInt32 err);
OLDNEW
« no previous file with comments | « net/third_party/nss/ssl/nsskea.c ('k') | net/third_party/nss/ssl/os2_err.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698