home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / nspr30-e.zip / nspr30-e / include / md / _os2_errors.h < prev    next >
C/C++ Source or Header  |  1998-11-21  |  5KB  |  133 lines

  1. /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /*
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  * 
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  * 
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. #ifndef nspr_os2_errors_h___
  20. #define nspr_os2_errors_h___
  21.  
  22. #include "md/_os2.h"
  23. #ifndef assert
  24.   #include <assert.h>
  25. #endif  
  26.  
  27. PR_EXTERN(void) _MD_os2_map_opendir_error(PRInt32 err);
  28. #define    _PR_MD_MAP_OPENDIR_ERROR    _MD_os2_map_opendir_error
  29.  
  30. PR_EXTERN(void) _MD_os2_map_closedir_error(PRInt32 err);
  31. #define    _PR_MD_MAP_CLOSEDIR_ERROR    _MD_os2_map_closedir_error
  32.  
  33. PR_EXTERN(void) _MD_unix_readdir_error(PRInt32 err);
  34. #define    _PR_MD_MAP_READDIR_ERROR    _MD_unix_readdir_error
  35.  
  36. PR_EXTERN(void) _MD_os2_map_delete_error(PRInt32 err);
  37. #define    _PR_MD_MAP_DELETE_ERROR    _MD_os2_map_delete_error
  38.  
  39. PR_EXTERN(void) _MD_os2_map_stat_error(PRInt32 err);
  40. #define    _PR_MD_MAP_STAT_ERROR    _MD_os2_map_stat_error
  41.  
  42. PR_EXTERN(void) _MD_os2_map_fstat_error(PRInt32 err);
  43. #define    _PR_MD_MAP_FSTAT_ERROR    _MD_os2_map_fstat_error
  44.  
  45. PR_EXTERN(void) _MD_os2_map_rename_error(PRInt32 err);
  46. #define    _PR_MD_MAP_RENAME_ERROR    _MD_os2_map_rename_error
  47.  
  48. PR_EXTERN(void) _MD_os2_map_access_error(PRInt32 err);
  49. #define    _PR_MD_MAP_ACCESS_ERROR    _MD_os2_map_access_error
  50.  
  51. PR_EXTERN(void) _MD_os2_map_mkdir_error(PRInt32 err);
  52. #define    _PR_MD_MAP_MKDIR_ERROR    _MD_os2_map_mkdir_error
  53.  
  54. PR_EXTERN(void) _MD_os2_map_rmdir_error(PRInt32 err);
  55. #define    _PR_MD_MAP_RMDIR_ERROR    _MD_os2_map_rmdir_error
  56.  
  57. PR_EXTERN(void) _MD_os2_map_read_error(PRInt32 err);
  58. #define    _PR_MD_MAP_READ_ERROR    _MD_os2_map_read_error
  59.  
  60. PR_EXTERN(void) _MD_os2_map_transmitfile_error(PRInt32 err);
  61. #define    _PR_MD_MAP_TRANSMITFILE_ERROR    _MD_os2_map_transmitfile_error
  62.  
  63. PR_EXTERN(void) _MD_os2_map_write_error(PRInt32 err);
  64. #define    _PR_MD_MAP_WRITE_ERROR    _MD_os2_map_write_error
  65.  
  66. PR_EXTERN(void) _MD_os2_map_lseek_error(PRInt32 err);
  67. #define    _PR_MD_MAP_LSEEK_ERROR    _MD_os2_map_lseek_error
  68.  
  69. PR_EXTERN(void) _MD_os2_map_fsync_error(PRInt32 err);
  70. #define    _PR_MD_MAP_FSYNC_ERROR    _MD_os2_map_fsync_error
  71.  
  72. PR_EXTERN(void) _MD_os2_map_close_error(PRInt32 err);
  73. #define    _PR_MD_MAP_CLOSE_ERROR    _MD_os2_map_close_error
  74.  
  75. PR_EXTERN(void) _MD_os2_map_socket_error(PRInt32 err);
  76. #define    _PR_MD_MAP_SOCKET_ERROR    _MD_os2_map_socket_error
  77.  
  78. PR_EXTERN(void) _MD_os2_map_recv_error(PRInt32 err);
  79. #define    _PR_MD_MAP_RECV_ERROR    _MD_os2_map_recv_error
  80.  
  81. PR_EXTERN(void) _MD_os2_map_recvfrom_error(PRInt32 err);
  82. #define    _PR_MD_MAP_RECVFROM_ERROR    _MD_os2_map_recvfrom_error
  83.  
  84. PR_EXTERN(void) _MD_os2_map_send_error(PRInt32 err);
  85. #define    _PR_MD_MAP_SEND_ERROR    _MD_os2_map_send_error
  86.  
  87. PR_EXTERN(void) _MD_os2_map_sendto_error(PRInt32 err);
  88. #define    _PR_MD_MAP_SENDTO_ERROR    _MD_os2_map_sendto_error
  89.  
  90. PR_EXTERN(void) _MD_os2_map_accept_error(PRInt32 err);
  91. #define    _PR_MD_MAP_ACCEPT_ERROR    _MD_os2_map_accept_error
  92.  
  93. PR_EXTERN(void) _MD_os2_map_acceptex_error(PRInt32 err);
  94. #define    _PR_MD_MAP_ACCEPTEX_ERROR    _MD_os2_map_acceptex_error
  95.  
  96. PR_EXTERN(void) _MD_os2_map_connect_error(PRInt32 err);
  97. #define    _PR_MD_MAP_CONNECT_ERROR    _MD_os2_map_connect_error
  98.  
  99. PR_EXTERN(void) _MD_os2_map_bind_error(PRInt32 err);
  100. #define    _PR_MD_MAP_BIND_ERROR    _MD_os2_map_bind_error
  101.  
  102. PR_EXTERN(void) _MD_os2_map_listen_error(PRInt32 err);
  103. #define    _PR_MD_MAP_LISTEN_ERROR    _MD_os2_map_listen_error
  104.  
  105. PR_EXTERN(void) _MD_os2_map_shutdown_error(PRInt32 err);
  106. #define    _PR_MD_MAP_SHUTDOWN_ERROR    _MD_os2_map_shutdown_error
  107.  
  108. PR_EXTERN(void) _MD_os2_map_getsockname_error(PRInt32 err);
  109. #define    _PR_MD_MAP_GETSOCKNAME_ERROR    _MD_os2_map_getsockname_error
  110.  
  111. PR_EXTERN(void) _MD_os2_map_getpeername_error(PRInt32 err);
  112. #define    _PR_MD_MAP_GETPEERNAME_ERROR    _MD_os2_map_getpeername_error
  113.  
  114. PR_EXTERN(void) _MD_os2_map_getsockopt_error(PRInt32 err);
  115. #define    _PR_MD_MAP_GETSOCKOPT_ERROR    _MD_os2_map_getsockopt_error
  116.  
  117. PR_EXTERN(void) _MD_os2_map_setsockopt_error(PRInt32 err);
  118. #define    _PR_MD_MAP_SETSOCKOPT_ERROR    _MD_os2_map_setsockopt_error
  119.  
  120. PR_EXTERN(void) _MD_os2_map_open_error(PRInt32 err);
  121. #define    _PR_MD_MAP_OPEN_ERROR    _MD_os2_map_open_error
  122.  
  123. PR_EXTERN(void) _MD_os2_map_gethostname_error(PRInt32 err);
  124. #define    _PR_MD_MAP_GETHOSTNAME_ERROR    _MD_os2_map_gethostname_error
  125.  
  126. PR_EXTERN(void) _MD_os2_map_select_error(PRInt32 err);
  127. #define    _PR_MD_MAP_SELECT_ERROR    _MD_os2_map_select_error
  128.  
  129. PR_EXTERN(void) _MD_os2_map_lockf_error(int err);
  130. #define _PR_MD_MAP_LOCKF_ERROR  _MD_os2_map_lockf_error
  131.  
  132. #endif /* nspr_os2_errors_h___ */
  133.