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

Side by Side Diff: net/third_party/nss/ssl/unix_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/sslver.c ('k') | net/third_party/nss/ssl/unix_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: unix_err.h,v 1.4 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: unix_err.h,v 1.3 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 extern void nss_MD_hpux_map_sendfile_error(int err); 17 extern void nss_MD_hpux_map_sendfile_error(int err);
50 extern void nss_MD_unix_map_accept_error(int err); 18 extern void nss_MD_unix_map_accept_error(int err);
51 extern void nss_MD_unix_map_access_error(int err); 19 extern void nss_MD_unix_map_access_error(int err);
52 extern void nss_MD_unix_map_bind_error(int err); 20 extern void nss_MD_unix_map_bind_error(int err);
53 extern void nss_MD_unix_map_close_error(int err); 21 extern void nss_MD_unix_map_close_error(int err);
54 extern void nss_MD_unix_map_closedir_error(int err); 22 extern void nss_MD_unix_map_closedir_error(int err);
(...skipping 26 matching lines...) Expand all
81 extern void nss_MD_unix_map_sendto_error(int err); 49 extern void nss_MD_unix_map_sendto_error(int err);
82 extern void nss_MD_unix_map_setsockopt_error(int err); 50 extern void nss_MD_unix_map_setsockopt_error(int err);
83 extern void nss_MD_unix_map_shutdown_error(int err); 51 extern void nss_MD_unix_map_shutdown_error(int err);
84 extern void nss_MD_unix_map_socket_error(int err); 52 extern void nss_MD_unix_map_socket_error(int err);
85 extern void nss_MD_unix_map_socketavailable_error(int err); 53 extern void nss_MD_unix_map_socketavailable_error(int err);
86 extern void nss_MD_unix_map_socketpair_error(int err); 54 extern void nss_MD_unix_map_socketpair_error(int err);
87 extern void nss_MD_unix_map_stat_error(int err); 55 extern void nss_MD_unix_map_stat_error(int err);
88 extern void nss_MD_unix_map_unlink_error(int err); 56 extern void nss_MD_unix_map_unlink_error(int err);
89 extern void nss_MD_unix_map_write_error(int err); 57 extern void nss_MD_unix_map_write_error(int err);
90 extern void nss_MD_unix_map_writev_error(int err); 58 extern void nss_MD_unix_map_writev_error(int err);
OLDNEW
« no previous file with comments | « net/third_party/nss/ssl/sslver.c ('k') | net/third_party/nss/ssl/unix_err.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698