| OLD | NEW |
| (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 * 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 | |
| 11 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
| 12 | |
| 13 /* NSPR doesn't make these functions public, so we have to duplicate | |
| 14 ** them in NSS. | |
| 15 */ | |
| 16 extern void nss_MD_hpux_map_sendfile_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); | |
| 19 extern void nss_MD_unix_map_bind_error(int err); | |
| 20 extern void nss_MD_unix_map_close_error(int err); | |
| 21 extern void nss_MD_unix_map_closedir_error(int err); | |
| 22 extern void nss_MD_unix_map_connect_error(int err); | |
| 23 extern void nss_MD_unix_map_default_error(int err); | |
| 24 extern void nss_MD_unix_map_flock_error(int err); | |
| 25 extern void nss_MD_unix_map_fstat_error(int err); | |
| 26 extern void nss_MD_unix_map_fsync_error(int err); | |
| 27 extern void nss_MD_unix_map_gethostname_error(int err); | |
| 28 extern void nss_MD_unix_map_getpeername_error(int err); | |
| 29 extern void nss_MD_unix_map_getsockname_error(int err); | |
| 30 extern void nss_MD_unix_map_getsockopt_error(int err); | |
| 31 extern void nss_MD_unix_map_listen_error(int err); | |
| 32 extern void nss_MD_unix_map_lockf_error(int err); | |
| 33 extern void nss_MD_unix_map_lseek_error(int err); | |
| 34 extern void nss_MD_unix_map_mkdir_error(int err); | |
| 35 extern void nss_MD_unix_map_mmap_error(int err); | |
| 36 extern void nss_MD_unix_map_open_error(int err); | |
| 37 extern void nss_MD_unix_map_opendir_error(int err); | |
| 38 extern void nss_MD_unix_map_poll_error(int err); | |
| 39 extern void nss_MD_unix_map_poll_revents_error(int err); | |
| 40 extern void nss_MD_unix_map_read_error(int err); | |
| 41 extern void nss_MD_unix_map_readdir_error(int err); | |
| 42 extern void nss_MD_unix_map_recv_error(int err); | |
| 43 extern void nss_MD_unix_map_recvfrom_error(int err); | |
| 44 extern void nss_MD_unix_map_rename_error(int err); | |
| 45 extern void nss_MD_unix_map_rmdir_error(int err); | |
| 46 extern void nss_MD_unix_map_select_error(int err); | |
| 47 extern void nss_MD_unix_map_send_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); | |
| 50 extern void nss_MD_unix_map_shutdown_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); | |
| 53 extern void nss_MD_unix_map_socketpair_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); | |
| 56 extern void nss_MD_unix_map_write_error(int err); | |
| 57 extern void nss_MD_unix_map_writev_error(int err); | |
| OLD | NEW |