00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 #ifndef BIOSPHERE_ERROR_H
00036 #define BIOSPHERE_ERROR_H
00037
00038 #include <biosphere.h>
00039
00040 #ifdef __cplusplus
00041 extern "C" {
00042 #endif
00043
00044
00045
00046
00047
00048
00049
00050
00064 typedef bs_uint32 bs_status;
00065
00074 #define BS_OK 0x00000000
00075
00076 #define BS_ERROR 0x00000001
00077
00078 #define BS_NO_MEMORY 0x00000002
00079
00080 #define BS_NOT_IMPLEMENTED 0x00000003
00081
00082 #define BS_INIT_ERROR_OPTION 0x00000004
00083
00084 #define BS_INIT_ERROR_DB 0x00000005
00085
00086 #define BS_INIT_ERROR_SERVICE 0x00000006
00087
00088 #define BS_INIT_ERROR_MODULE 0x00000007
00089
00090 #define BS_INIT_ERROR_LISTENER 0x00000008
00091
00092
00107 #define BS_HTTP_ERROR 0x00001000
00108
00109
00126 #define BS_NO_SERVICE 0x00000100
00127
00131 #define BS_SERVICE_NOT_FOUND 0x00000101
00132
00136 #define BS_SERVICE_DOUBLE 0x00000102
00137
00141 #define BS_SERVICE_NUM_PARTS_MISMATCH 0x00000103
00142
00146 #define BS_SERVICE_PART_INCORRECT 0x00000104
00147
00161 #define BS_XML_PARSE_ERROR 0x00000200
00162
00163 #define BS_XML_BUF_TOO_SMALL 0x00000201
00164
00165 #define BS_XML_PARSE_INCOMPLETE 0x00000202
00166
00167 #define BS_XML_UNKNOWN_ELEMENT 0x00000203
00168
00169 #define BS_XML_UNKNOWN_ROOT 0x00000204
00170
00171 #define BS_XML_NWF 0x00000205
00172
00173 #define BS_XML_DATA_TYPE_UNKNOWN 0x00000206
00174
00187 #define BS_TYPE_ERROR 0x00000400
00188
00189 #define BS_TYPE_RANGE 0x00000401
00190
00191 #define BS_TYPE_CONVERT_ERROR 0x00000402
00192
00193 #define BS_TYPE_STRING_NO_TERM 0x00000403
00194
00195 #define BS_TYPE_NO_BOOLEAN 0x00000404
00196
00197 #define BS_TYPE_BYTE_ERROR 0x00000405
00198
00199
00208 #ifdef __cplusplus
00209 }
00210 #endif
00211 #endif