| OLD | NEW |
| 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 * This Source Code Form is subject to the terms of the Mozilla Public | 9 * This Source Code Form is subject to the terms of the Mozilla Public |
| 10 * License, v. 2.0. If a copy of the MPL was not distributed with this | 10 * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 11 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 11 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 12 /* $Id: os2_err.h,v 1.5 2012/04/25 14:50:12 gerv%gerv.net Exp $ */ | 12 /* $Id$ */ |
| 13 | 13 |
| 14 /* 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 |
| 15 ** them in NSS. | 15 ** them in NSS. |
| 16 */ | 16 */ |
| 17 | 17 |
| 18 //HCT Based on Win32err.h | 18 //HCT Based on Win32err.h |
| 19 extern void nss_MD_os2_map_accept_error(PRInt32 err); | 19 extern void nss_MD_os2_map_accept_error(PRInt32 err); |
| 20 extern void nss_MD_os2_map_acceptex_error(PRInt32 err); | 20 extern void nss_MD_os2_map_acceptex_error(PRInt32 err); |
| 21 extern void nss_MD_os2_map_access_error(PRInt32 err); | 21 extern void nss_MD_os2_map_access_error(PRInt32 err); |
| 22 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 Loading... |
| 45 extern void nss_MD_os2_map_rmdir_error(PRInt32 err); | 45 extern void nss_MD_os2_map_rmdir_error(PRInt32 err); |
| 46 extern void nss_MD_os2_map_select_error(PRInt32 err); | 46 extern void nss_MD_os2_map_select_error(PRInt32 err); |
| 47 extern void nss_MD_os2_map_send_error(PRInt32 err); | 47 extern void nss_MD_os2_map_send_error(PRInt32 err); |
| 48 extern void nss_MD_os2_map_sendto_error(PRInt32 err); | 48 extern void nss_MD_os2_map_sendto_error(PRInt32 err); |
| 49 extern void nss_MD_os2_map_setsockopt_error(PRInt32 err); | 49 extern void nss_MD_os2_map_setsockopt_error(PRInt32 err); |
| 50 extern void nss_MD_os2_map_shutdown_error(PRInt32 err); | 50 extern void nss_MD_os2_map_shutdown_error(PRInt32 err); |
| 51 extern void nss_MD_os2_map_socket_error(PRInt32 err); | 51 extern void nss_MD_os2_map_socket_error(PRInt32 err); |
| 52 extern void nss_MD_os2_map_stat_error(PRInt32 err); | 52 extern void nss_MD_os2_map_stat_error(PRInt32 err); |
| 53 extern void nss_MD_os2_map_transmitfile_error(PRInt32 err); | 53 extern void nss_MD_os2_map_transmitfile_error(PRInt32 err); |
| 54 extern void nss_MD_os2_map_write_error(PRInt32 err); | 54 extern void nss_MD_os2_map_write_error(PRInt32 err); |
| OLD | NEW |