00001
00002
00003
00004
00005 #ifndef DMLITE_COMMON_ERRNO_H
00006 #define DMLITE_COMMON_ERRNO_H
00007
00008 #define DM_NO_ERROR 0x0000
00009
00010 #define DM_UNKNOWN_ERROR 0x0001
00011 #define DM_UNEXPECTED_EXCEPTION 0x0002
00012 #define DM_INTERNAL_ERROR 0x0003
00013 #define DM_NO_SUCH_SYMBOL 0x0004
00014 #define DM_API_VERSION_MISMATCH 0x0005
00015 #define DM_NO_FACTORY 0x0006
00016 #define DM_NO_POOL_MANAGER 0x0007
00017 #define DM_NO_CATALOG 0x0008
00018 #define DM_NO_INODE 0x0009
00019 #define DM_NO_AUTHN 0x000A
00020 #define DM_NO_SECURITY_CONTEXT 0x000B
00021 #define DM_EMPTY_SECURITY_CONTEXT 0x000C
00022 #define DM_NO_IO 0x000D
00023
00024 #define DM_MALFORMED_CONF 0x0100
00025 #define DM_UNKNOWN_OPTION 0x0101
00026 #define DM_UNKNOWN_KEY 0x0102
00027
00028 #define DM_UNKNOWN_HOST 0x0200
00029 #define DM_CONNECTION_ERROR 0x0201
00030 #define DM_SERVICE_UNAVAILABLE 0x0202
00031 #define DM_QUERY_FAILED 0x0203
00032 #define DM_UNKNOWN_FIELD 0x0204
00033
00034 #define DM_NOT_IMPLEMENTED 0x1001
00035 #define DM_NULL_POINTER 0x1002
00036 #define DM_BAD_OPERATION 0x1003
00037 #define DM_NO_SUCH_FILE 0x1004
00038 #define DM_BAD_DESCRIPTOR 0x1005
00039 #define DM_RESOURCE_UNAVAILABLE 0x1006
00040 #define DM_OUT_OF_MEMORY 0x1007
00041 #define DM_FORBIDDEN 0x1008
00042 #define DM_EXISTS 0x1009
00043 #define DM_NOT_DIRECTORY 0x100A
00044 #define DM_IS_DIRECTORY 0x100B
00045 #define DM_INVALID_VALUE 0x100C
00046 #define DM_NO_SPACE_LEFT 0x100D
00047 #define DM_NAME_TOO_LONG 0x100E
00048 #define DM_TOO_MANY_SYMLINKS 0x100F
00049 #define DM_NO_COMMENT 0x1010
00050 #define DM_NO_REPLICAS 0x1011
00051 #define DM_PUT_ERROR 0x1012
00052 #define DM_IS_CWD 0x1013
00053 #define DM_NO_SUCH_REPLICA 0x1014
00054 #define DM_NOT_REGULAR 0x1015
00055
00056 #define DM_NO_USER_MAPPING 0x1101
00057 #define DM_NO_SUCH_USER 0x1102
00058 #define DM_NO_SUCH_GROUP 0x1103
00059 #define DM_NOT_A_KEY 0x1104
00060
00061 #define DM_INVALID_ACL 0x1201
00062
00063 #define DM_UNKNOWN_POOL_TYPE 0x2001
00064 #define DM_NO_SUCH_FS 0x2002
00065 #define DM_NO_SUCH_POOL 0x2003
00066
00067 #endif