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

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

Issue 394003: Linux: enable building with a local version of libssl. (Closed)
Patch Set: ... Created 11 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
« 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
(Empty)
1 /*
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
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
6 * to accomplish its job, and NSPR's error mapping functions remain private,
7 * This code will continue to need to be replicated.
8 *
9 * ***** BEGIN LICENSE BLOCK *****
10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
11 *
12 * The contents of this file are subject to the Mozilla Public License Version
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
46 /* NSPR doesn't make these functions public, so we have to duplicate
47 ** them in NSS.
48 */
49
50 //HCT Based on Win32err.h
51 extern void nss_MD_os2_map_accept_error(PRInt32 err);
52 extern void nss_MD_os2_map_acceptex_error(PRInt32 err);
53 extern void nss_MD_os2_map_access_error(PRInt32 err);
54 extern void nss_MD_os2_map_bind_error(PRInt32 err);
55 extern void nss_MD_os2_map_close_error(PRInt32 err);
56 extern void nss_MD_os2_map_closedir_error(PRInt32 err);
57 extern void nss_MD_os2_map_connect_error(PRInt32 err);
58 extern void nss_MD_os2_map_default_error(PRInt32 err);
59 extern void nss_MD_os2_map_delete_error(PRInt32 err);
60 extern void nss_MD_os2_map_fstat_error(PRInt32 err);
61 extern void nss_MD_os2_map_fsync_error(PRInt32 err);
62 extern void nss_MD_os2_map_gethostname_error(PRInt32 err);
63 extern void nss_MD_os2_map_getpeername_error(PRInt32 err);
64 extern void nss_MD_os2_map_getsockname_error(PRInt32 err);
65 extern void nss_MD_os2_map_getsockopt_error(PRInt32 err);
66 extern void nss_MD_os2_map_listen_error(PRInt32 err);
67 extern void nss_MD_os2_map_lockf_error(PRInt32 err);
68 extern void nss_MD_os2_map_lseek_error(PRInt32 err);
69 extern void nss_MD_os2_map_mkdir_error(PRInt32 err);
70 extern void nss_MD_os2_map_open_error(PRInt32 err);
71 extern void nss_MD_os2_map_opendir_error(PRInt32 err);
72 extern void nss_MD_os2_map_read_error(PRInt32 err);
73 extern void nss_MD_os2_map_readdir_error(PRInt32 err);
74 extern void nss_MD_os2_map_recv_error(PRInt32 err);
75 extern void nss_MD_os2_map_recvfrom_error(PRInt32 err);
76 extern void nss_MD_os2_map_rename_error(PRInt32 err);
77 extern void nss_MD_os2_map_rmdir_error(PRInt32 err);
78 extern void nss_MD_os2_map_select_error(PRInt32 err);
79 extern void nss_MD_os2_map_send_error(PRInt32 err);
80 extern void nss_MD_os2_map_sendto_error(PRInt32 err);
81 extern void nss_MD_os2_map_setsockopt_error(PRInt32 err);
82 extern void nss_MD_os2_map_shutdown_error(PRInt32 err);
83 extern void nss_MD_os2_map_socket_error(PRInt32 err);
84 extern void nss_MD_os2_map_stat_error(PRInt32 err);
85 extern void nss_MD_os2_map_transmitfile_error(PRInt32 err);
86 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