00001
00038 #if ! defined( _CIGI_ERROR_CODES_INCLUDED_)
00039 #define _CIGI_ERROR_CODES_INCLUDED_
00040
00041 #define CIGI_SUCCESS 0
00042 #define CIGI_ERROR_NONE 0
00043
00044 #define CIGI_ERROR_MISCELLANEOUS -1
00045 #define CIGI_ERROR_UNEXPECTED_NULL -2
00046 #define CIGI_ERROR_BUFFER_OVERRUN -3
00047 #define CIGI_ERROR_CALLED_OUT_OF_SEQUENCE -4
00048 #define CIGI_ERROR_INVALID_PACKET -5
00049 #define CIGI_ERROR_INVALID_OPCODE -6
00050 #define CIGI_ERROR_ALLOC_FAILED -7
00051 #define CIGI_ERROR_BUFFER_TOO_SMALL -8
00052 #define CIGI_ERROR_MAX_SESSIONS -9
00053 #define CIGI_ERROR_INVALID_SESSION -10
00054 #define CIGI_ERROR_INVALID_SESSION_TYPE -11
00055 #define CIGI_ERROR_MISSING_IG_CONTROL_PACKET -12
00056 #define CIGI_ERROR_MISSING_SOF_PACKET -13
00057 #define CIGI_ERROR_NOT_IMPLEMENTED -14
00058 #define CIGI_ERROR_PACKET_TOO_LARGE -15
00059 #define CIGI_ERROR_INVALID_PACKET_SIZE -16
00060 #define CIGI_ERROR_VALUE_OUT_OF_RANGE -17
00061 #define CIGI_ERROR_WRONG_VERSION -18
00062 #define CIGI_ERROR_INVALID_USER_PACKET -19
00063 #define CIGI_ERROR_IMPROPER_PACKET -20
00064
00065
00066 #endif // _CIGI_ERROR_CODES_INCLUDED_
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138