| 1 | /* nerrno.h,v 1.1 2003/12/10 19:13:03 bird Exp */ | 
|---|
| 2 | /** @file | 
|---|
| 3 | * IBM Toolkit Compatability. | 
|---|
| 4 | * | 
|---|
| 5 | * Copyright (c) 2003 InnoTek Systemberatung GmbH | 
|---|
| 6 | * Author: knut st. osmundsen <bird-srcspam@anduin.net> | 
|---|
| 7 | * | 
|---|
| 8 | * | 
|---|
| 9 | * This program is free software; you can redistribute it and/or modify | 
|---|
| 10 | * it under the terms of the GNU Lesser General Public License as published | 
|---|
| 11 | * by the Free Software Foundation; either version 2 of the License, or | 
|---|
| 12 | * (at your option) any later version. | 
|---|
| 13 | * | 
|---|
| 14 | * This program is distributed in the hope that it will be useful, | 
|---|
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|---|
| 17 | * GNU Lesser General Public License for more details. | 
|---|
| 18 | * | 
|---|
| 19 | * You should have received a copy of the GNU Lesser General Public License | 
|---|
| 20 | * along with This program; if not, write to the Free Software | 
|---|
| 21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA | 
|---|
| 22 | * | 
|---|
| 23 | */ | 
|---|
| 24 |  | 
|---|
| 25 | #ifndef _NERROR_H_ | 
|---|
| 26 | #define _NERROR_H_ | 
|---|
| 27 |  | 
|---|
| 28 |  | 
|---|
| 29 | /******************************************************************************* | 
|---|
| 30 | *   Header Files                                                               * | 
|---|
| 31 | *******************************************************************************/ | 
|---|
| 32 | #include <errno.h> | 
|---|
| 33 |  | 
|---|
| 34 |  | 
|---|
| 35 | /******************************************************************************* | 
|---|
| 36 | *   Defined Constants And Macros                                               * | 
|---|
| 37 | *******************************************************************************/ | 
|---|
| 38 | #define SOCEPERM           EPERM | 
|---|
| 39 | #define SOCENOENT          ENOENT | 
|---|
| 40 | #define SOCESRCH           ESRCH | 
|---|
| 41 | #define SOCEINTR           EINTR | 
|---|
| 42 | #define SOCEIO             EIO | 
|---|
| 43 | #define SOCENXIO           ENXIO | 
|---|
| 44 | #define SOCE2BIG           E2BIG | 
|---|
| 45 | #define SOCENOEXEC         ENOEXEC | 
|---|
| 46 | #define SOCEBADF           EBADF | 
|---|
| 47 | #define SOCECHILD          ECHILD | 
|---|
| 48 | #define SOCEDEADLK         EDEADLK | 
|---|
| 49 | #define SOCENOMEM          ENOMEM | 
|---|
| 50 | #define SOCEACCES          EACCES | 
|---|
| 51 | #define SOCEFAULT          EFAULT | 
|---|
| 52 | #define SOCENOTBLK         ENOTBLK | 
|---|
| 53 | #define SOCEBUSY           EBUSY | 
|---|
| 54 | #define SOCEEXIST          EEXIST | 
|---|
| 55 | #define SOCEXDEV           EXDEV | 
|---|
| 56 | #define SOCENODEV          ENODEV | 
|---|
| 57 | #define SOCENOTDIR         ENOTDIR | 
|---|
| 58 | #define SOCEISDIR          EISDIR | 
|---|
| 59 | #define SOCEINVAL          EINVAL | 
|---|
| 60 | #define SOCENFILE          ENFILE | 
|---|
| 61 | #define SOCEMFILE          EMFILE | 
|---|
| 62 | #define SOCENOTTY          ENOTTY | 
|---|
| 63 | #define SOCETXTBSY         ETXTBSY | 
|---|
| 64 | #define SOCEFBIG           EFBIG | 
|---|
| 65 | #define SOCENOSPC          ENOSPC | 
|---|
| 66 | #define SOCESPIPE          ESPIPE | 
|---|
| 67 | #define SOCEROFS           EROFS | 
|---|
| 68 | #define SOCEMLINK          EMLINK | 
|---|
| 69 | #define SOCEPIPE           EPIPE | 
|---|
| 70 |  | 
|---|
| 71 |  | 
|---|
| 72 | #define SOCEDOM            EDOM | 
|---|
| 73 | #define SOCERANGE          ERANGE | 
|---|
| 74 |  | 
|---|
| 75 |  | 
|---|
| 76 | #define SOCEAGAIN          EAGAIN | 
|---|
| 77 | #define SOCEWOULDBLOCK     EWOULDBLOCK | 
|---|
| 78 | #define SOCEINPROGRESS     EINPROGRESS | 
|---|
| 79 | #define SOCEALREADY        EALREADY | 
|---|
| 80 |  | 
|---|
| 81 |  | 
|---|
| 82 | #define SOCENOTSOCK        ENOTSOCK | 
|---|
| 83 | #define SOCEDESTADDRREQ    EDESTADDRREQ | 
|---|
| 84 | #define SOCEMSGSIZE        EMSGSIZE | 
|---|
| 85 | #define SOCEPROTOTYPE      EPROTOTYPE | 
|---|
| 86 | #define SOCENOPROTOOPT     ENOPROTOOPT | 
|---|
| 87 | #define SOCEPROTONOSUPPORT EPROTONOSUPPORT | 
|---|
| 88 | #define SOCESOCKTNOSUPPORT ESOCKTNOSUPPORT | 
|---|
| 89 | #define SOCEOPNOTSUPP      EOPNOTSUPP | 
|---|
| 90 | #define SOCEPFNOSUPPORT    EPFNOSUPPORT | 
|---|
| 91 | #define SOCEAFNOSUPPORT    EAFNOSUPPORT | 
|---|
| 92 | #define SOCEADDRINUSE      EADDRINUSE | 
|---|
| 93 | #define SOCEADDRNOTAVAIL   EADDRNOTAVAIL | 
|---|
| 94 |  | 
|---|
| 95 |  | 
|---|
| 96 | #define SOCENETDOWN        ENETDOWN | 
|---|
| 97 | #define SOCENETUNREACH     ENETUNREACH | 
|---|
| 98 | #define SOCENETRESET       ENETRESET | 
|---|
| 99 | #define SOCECONNABORTED    ECONNABORTED | 
|---|
| 100 | #define SOCECONNRESET      ECONNRESET | 
|---|
| 101 | #define SOCENOBUFS         ENOBUFS | 
|---|
| 102 | #define SOCEISCONN         EISCONN | 
|---|
| 103 | #define SOCENOTCONN        ENOTCONN | 
|---|
| 104 | #define SOCESHUTDOWN       ESHUTDOWN | 
|---|
| 105 | #define SOCETOOMANYREFS    ETOOMANYREFS | 
|---|
| 106 | #define SOCETIMEDOUT       ETIMEDOUT | 
|---|
| 107 | #define SOCECONNREFUSED    ECONNREFUSED | 
|---|
| 108 |  | 
|---|
| 109 | #define SOCELOOP           ELOOP | 
|---|
| 110 | #define SOCENAMETOOLONG    ENAMETOOLONG | 
|---|
| 111 |  | 
|---|
| 112 |  | 
|---|
| 113 | #define SOCEHOSTDOWN       EHOSTDOWN | 
|---|
| 114 | #define SOCEHOSTUNREACH    EHOSTUNREACH | 
|---|
| 115 | #define SOCENOTEMPTY       ENOTEMPTY | 
|---|
| 116 |  | 
|---|
| 117 |  | 
|---|
| 118 | #define SOCEPROCLIM        EPROCLIM | 
|---|
| 119 | #define SOCEUSERS          EUSERS | 
|---|
| 120 | #define SOCEDQUOT          EDQUOT | 
|---|
| 121 |  | 
|---|
| 122 |  | 
|---|
| 123 | #define SOCESTALE          ESTALE | 
|---|
| 124 | #define SOCEREMOTE         EREMOTE | 
|---|
| 125 | #define SOCEBADRPC         EBADRPC | 
|---|
| 126 | #define SOCERPCMISMATCH    ERPCMISMATCH | 
|---|
| 127 | #define SOCEPROGUNAVAIL    EPROGUNAVAIL | 
|---|
| 128 | #define SOCEPROGMISMATCH   EPROGMISMATCH | 
|---|
| 129 | #define SOCEPROCUNAVAIL    EPROCUNAVAIL | 
|---|
| 130 |  | 
|---|
| 131 |  | 
|---|
| 132 | #define SOCENOLCK          ENOLCK | 
|---|
| 133 | #define SOCENOSYS          ENOSYS | 
|---|
| 134 |  | 
|---|
| 135 | #define SOCEFTYPE          EFTYPE | 
|---|
| 136 | #define SOCEAUTH           EAUTH | 
|---|
| 137 | #define SOCENEEDAUTH       ENEEDAUTH | 
|---|
| 138 |  | 
|---|
| 139 | #define SOCEOS2ERR         (100) | 
|---|
| 140 | #define SOCELAST           ELAST | 
|---|
| 141 |  | 
|---|
| 142 | #endif | 
|---|