Bug 460926 A11y hierachy is broken on Ubuntu 8.10 (GNOME 2.24), r=Evan.Yan sr=roc
[wine-gecko.git] / security / nss / lib / ssl / unix_err.h
blob00020f1f03618ce0231a4047458352ae4ee9fa90
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
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/
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.
22 * The Original Code is the Netscape security libraries.
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.
29 * Contributor(s):
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.
43 * ***** END LICENSE BLOCK ***** */
44 /* $Id: unix_err.h,v 1.3 2004/04/27 23:04:39 gerv%gerv.net Exp $ */
46 /* NSPR doesn't make these functions public, so we have to duplicate
47 ** them in NSS.
49 extern void nss_MD_hpux_map_sendfile_error(int err);
50 extern void nss_MD_unix_map_accept_error(int err);
51 extern void nss_MD_unix_map_access_error(int err);
52 extern void nss_MD_unix_map_bind_error(int err);
53 extern void nss_MD_unix_map_close_error(int err);
54 extern void nss_MD_unix_map_closedir_error(int err);
55 extern void nss_MD_unix_map_connect_error(int err);
56 extern void nss_MD_unix_map_default_error(int err);
57 extern void nss_MD_unix_map_flock_error(int err);
58 extern void nss_MD_unix_map_fstat_error(int err);
59 extern void nss_MD_unix_map_fsync_error(int err);
60 extern void nss_MD_unix_map_gethostname_error(int err);
61 extern void nss_MD_unix_map_getpeername_error(int err);
62 extern void nss_MD_unix_map_getsockname_error(int err);
63 extern void nss_MD_unix_map_getsockopt_error(int err);
64 extern void nss_MD_unix_map_listen_error(int err);
65 extern void nss_MD_unix_map_lockf_error(int err);
66 extern void nss_MD_unix_map_lseek_error(int err);
67 extern void nss_MD_unix_map_mkdir_error(int err);
68 extern void nss_MD_unix_map_mmap_error(int err);
69 extern void nss_MD_unix_map_open_error(int err);
70 extern void nss_MD_unix_map_opendir_error(int err);
71 extern void nss_MD_unix_map_poll_error(int err);
72 extern void nss_MD_unix_map_poll_revents_error(int err);
73 extern void nss_MD_unix_map_read_error(int err);
74 extern void nss_MD_unix_map_readdir_error(int err);
75 extern void nss_MD_unix_map_recv_error(int err);
76 extern void nss_MD_unix_map_recvfrom_error(int err);
77 extern void nss_MD_unix_map_rename_error(int err);
78 extern void nss_MD_unix_map_rmdir_error(int err);
79 extern void nss_MD_unix_map_select_error(int err);
80 extern void nss_MD_unix_map_send_error(int err);
81 extern void nss_MD_unix_map_sendto_error(int err);
82 extern void nss_MD_unix_map_setsockopt_error(int err);
83 extern void nss_MD_unix_map_shutdown_error(int err);
84 extern void nss_MD_unix_map_socket_error(int err);
85 extern void nss_MD_unix_map_socketavailable_error(int err);
86 extern void nss_MD_unix_map_socketpair_error(int err);
87 extern void nss_MD_unix_map_stat_error(int err);
88 extern void nss_MD_unix_map_unlink_error(int err);
89 extern void nss_MD_unix_map_write_error(int err);
90 extern void nss_MD_unix_map_writev_error(int err);