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 | 12 |
13 /* NSPR doesn't make these functions public, so we have to duplicate | 13 /* NSPR doesn't make these functions public, so we have to duplicate |
14 ** them in NSS. | 14 ** them in NSS. |
15 */ | 15 */ |
16 extern void nss_MD_hpux_map_sendfile_error(int err); | 16 extern void nss_MD_hpux_map_sendfile_error(int err); |
17 extern void nss_MD_unix_map_accept_error(int err); | 17 extern void nss_MD_unix_map_accept_error(int err); |
18 extern void nss_MD_unix_map_access_error(int err); | 18 extern void nss_MD_unix_map_access_error(int err); |
(...skipping 29 matching lines...) Expand all Loading... |
48 extern void nss_MD_unix_map_sendto_error(int err); | 48 extern void nss_MD_unix_map_sendto_error(int err); |
49 extern void nss_MD_unix_map_setsockopt_error(int err); | 49 extern void nss_MD_unix_map_setsockopt_error(int err); |
50 extern void nss_MD_unix_map_shutdown_error(int err); | 50 extern void nss_MD_unix_map_shutdown_error(int err); |
51 extern void nss_MD_unix_map_socket_error(int err); | 51 extern void nss_MD_unix_map_socket_error(int err); |
52 extern void nss_MD_unix_map_socketavailable_error(int err); | 52 extern void nss_MD_unix_map_socketavailable_error(int err); |
53 extern void nss_MD_unix_map_socketpair_error(int err); | 53 extern void nss_MD_unix_map_socketpair_error(int err); |
54 extern void nss_MD_unix_map_stat_error(int err); | 54 extern void nss_MD_unix_map_stat_error(int err); |
55 extern void nss_MD_unix_map_unlink_error(int err); | 55 extern void nss_MD_unix_map_unlink_error(int err); |
56 extern void nss_MD_unix_map_write_error(int err); | 56 extern void nss_MD_unix_map_write_error(int err); |
57 extern void nss_MD_unix_map_writev_error(int err); | 57 extern void nss_MD_unix_map_writev_error(int err); |
OLD | NEW |