nsprpub/pr/include/md/_os2_errors.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nsprpub/pr/include/md/_os2_errors.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,128 @@
     1.4 +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +#ifndef nspr_os2_errors_h___
    1.10 +#define nspr_os2_errors_h___
    1.11 +
    1.12 +#include "md/_os2.h"
    1.13 +#ifndef assert
    1.14 +  #include <assert.h>
    1.15 +#endif  
    1.16 +
    1.17 +NSPR_API(void) _MD_os2_map_default_error(PRInt32 err);
    1.18 +#define	_PR_MD_MAP_DEFAULT_ERROR	_MD_os2_map_default_error
    1.19 +
    1.20 +NSPR_API(void) _MD_os2_map_opendir_error(PRInt32 err);
    1.21 +#define	_PR_MD_MAP_OPENDIR_ERROR	_MD_os2_map_opendir_error
    1.22 +
    1.23 +NSPR_API(void) _MD_os2_map_closedir_error(PRInt32 err);
    1.24 +#define	_PR_MD_MAP_CLOSEDIR_ERROR	_MD_os2_map_closedir_error
    1.25 +
    1.26 +NSPR_API(void) _MD_os2_readdir_error(PRInt32 err);
    1.27 +#define	_PR_MD_MAP_READDIR_ERROR	_MD_os2_readdir_error
    1.28 +
    1.29 +NSPR_API(void) _MD_os2_map_delete_error(PRInt32 err);
    1.30 +#define	_PR_MD_MAP_DELETE_ERROR	_MD_os2_map_delete_error
    1.31 +
    1.32 +NSPR_API(void) _MD_os2_map_stat_error(PRInt32 err);
    1.33 +#define	_PR_MD_MAP_STAT_ERROR	_MD_os2_map_stat_error
    1.34 +
    1.35 +NSPR_API(void) _MD_os2_map_fstat_error(PRInt32 err);
    1.36 +#define	_PR_MD_MAP_FSTAT_ERROR	_MD_os2_map_fstat_error
    1.37 +
    1.38 +NSPR_API(void) _MD_os2_map_rename_error(PRInt32 err);
    1.39 +#define	_PR_MD_MAP_RENAME_ERROR	_MD_os2_map_rename_error
    1.40 +
    1.41 +NSPR_API(void) _MD_os2_map_access_error(PRInt32 err);
    1.42 +#define	_PR_MD_MAP_ACCESS_ERROR	_MD_os2_map_access_error
    1.43 +
    1.44 +NSPR_API(void) _MD_os2_map_mkdir_error(PRInt32 err);
    1.45 +#define	_PR_MD_MAP_MKDIR_ERROR	_MD_os2_map_mkdir_error
    1.46 +
    1.47 +NSPR_API(void) _MD_os2_map_rmdir_error(PRInt32 err);
    1.48 +#define	_PR_MD_MAP_RMDIR_ERROR	_MD_os2_map_rmdir_error
    1.49 +
    1.50 +NSPR_API(void) _MD_os2_map_read_error(PRInt32 err);
    1.51 +#define	_PR_MD_MAP_READ_ERROR	_MD_os2_map_read_error
    1.52 +
    1.53 +NSPR_API(void) _MD_os2_map_transmitfile_error(PRInt32 err);
    1.54 +#define	_PR_MD_MAP_TRANSMITFILE_ERROR	_MD_os2_map_transmitfile_error
    1.55 +
    1.56 +NSPR_API(void) _MD_os2_map_write_error(PRInt32 err);
    1.57 +#define	_PR_MD_MAP_WRITE_ERROR	_MD_os2_map_write_error
    1.58 +
    1.59 +NSPR_API(void) _MD_os2_map_lseek_error(PRInt32 err);
    1.60 +#define	_PR_MD_MAP_LSEEK_ERROR	_MD_os2_map_lseek_error
    1.61 +
    1.62 +NSPR_API(void) _MD_os2_map_fsync_error(PRInt32 err);
    1.63 +#define	_PR_MD_MAP_FSYNC_ERROR	_MD_os2_map_fsync_error
    1.64 +
    1.65 +NSPR_API(void) _MD_os2_map_close_error(PRInt32 err);
    1.66 +#define	_PR_MD_MAP_CLOSE_ERROR	_MD_os2_map_close_error
    1.67 +
    1.68 +NSPR_API(void) _MD_os2_map_socket_error(PRInt32 err);
    1.69 +#define	_PR_MD_MAP_SOCKET_ERROR	_MD_os2_map_socket_error
    1.70 +
    1.71 +NSPR_API(void) _MD_os2_map_recv_error(PRInt32 err);
    1.72 +#define	_PR_MD_MAP_RECV_ERROR	_MD_os2_map_recv_error
    1.73 +
    1.74 +NSPR_API(void) _MD_os2_map_recvfrom_error(PRInt32 err);
    1.75 +#define	_PR_MD_MAP_RECVFROM_ERROR	_MD_os2_map_recvfrom_error
    1.76 +
    1.77 +NSPR_API(void) _MD_os2_map_send_error(PRInt32 err);
    1.78 +#define	_PR_MD_MAP_SEND_ERROR	_MD_os2_map_send_error
    1.79 +
    1.80 +NSPR_API(void) _MD_os2_map_sendto_error(PRInt32 err);
    1.81 +#define	_PR_MD_MAP_SENDTO_ERROR	_MD_os2_map_sendto_error
    1.82 +
    1.83 +NSPR_API(void) _MD_os2_map_writev_error(int err);
    1.84 +#define	_PR_MD_MAP_WRITEV_ERROR	_MD_os2_map_writev_error
    1.85 +
    1.86 +NSPR_API(void) _MD_os2_map_accept_error(PRInt32 err);
    1.87 +#define	_PR_MD_MAP_ACCEPT_ERROR	_MD_os2_map_accept_error
    1.88 +
    1.89 +NSPR_API(void) _MD_os2_map_acceptex_error(PRInt32 err);
    1.90 +#define	_PR_MD_MAP_ACCEPTEX_ERROR	_MD_os2_map_acceptex_error
    1.91 +
    1.92 +NSPR_API(void) _MD_os2_map_connect_error(PRInt32 err);
    1.93 +#define	_PR_MD_MAP_CONNECT_ERROR	_MD_os2_map_connect_error
    1.94 +
    1.95 +NSPR_API(void) _MD_os2_map_bind_error(PRInt32 err);
    1.96 +#define	_PR_MD_MAP_BIND_ERROR	_MD_os2_map_bind_error
    1.97 +
    1.98 +NSPR_API(void) _MD_os2_map_listen_error(PRInt32 err);
    1.99 +#define	_PR_MD_MAP_LISTEN_ERROR	_MD_os2_map_listen_error
   1.100 +
   1.101 +NSPR_API(void) _MD_os2_map_shutdown_error(PRInt32 err);
   1.102 +#define	_PR_MD_MAP_SHUTDOWN_ERROR	_MD_os2_map_shutdown_error
   1.103 +
   1.104 +NSPR_API(void) _MD_os2_map_socketpair_error(int err);
   1.105 +#define	_PR_MD_MAP_SOCKETPAIR_ERROR	_MD_os2_map_socketpair_error
   1.106 +
   1.107 +NSPR_API(void) _MD_os2_map_getsockname_error(PRInt32 err);
   1.108 +#define	_PR_MD_MAP_GETSOCKNAME_ERROR	_MD_os2_map_getsockname_error
   1.109 +
   1.110 +NSPR_API(void) _MD_os2_map_getpeername_error(PRInt32 err);
   1.111 +#define	_PR_MD_MAP_GETPEERNAME_ERROR	_MD_os2_map_getpeername_error
   1.112 +
   1.113 +NSPR_API(void) _MD_os2_map_getsockopt_error(PRInt32 err);
   1.114 +#define	_PR_MD_MAP_GETSOCKOPT_ERROR	_MD_os2_map_getsockopt_error
   1.115 +
   1.116 +NSPR_API(void) _MD_os2_map_setsockopt_error(PRInt32 err);
   1.117 +#define	_PR_MD_MAP_SETSOCKOPT_ERROR	_MD_os2_map_setsockopt_error
   1.118 +
   1.119 +NSPR_API(void) _MD_os2_map_open_error(PRInt32 err);
   1.120 +#define	_PR_MD_MAP_OPEN_ERROR	_MD_os2_map_open_error
   1.121 +
   1.122 +NSPR_API(void) _MD_os2_map_gethostname_error(PRInt32 err);
   1.123 +#define	_PR_MD_MAP_GETHOSTNAME_ERROR	_MD_os2_map_gethostname_error
   1.124 +
   1.125 +NSPR_API(void) _MD_os2_map_select_error(PRInt32 err);
   1.126 +#define	_PR_MD_MAP_SELECT_ERROR	_MD_os2_map_select_error
   1.127 +
   1.128 +NSPR_API(void) _MD_os2_map_lockf_error(int err);
   1.129 +#define _PR_MD_MAP_LOCKF_ERROR  _MD_os2_map_lockf_error
   1.130 +
   1.131 +#endif /* nspr_os2_errors_h___ */

mercurial