00001 #ifndef __MK_dsp_errno_H___
00002 #define __MK_dsp_errno_H___
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifdef WIN32
00013 #import <errno.h>
00014 #else
00015 #import <sys/errno.h>
00016 #endif
00017
00018 extern int errno;
00019
00020 #define DSP_EWARNING 0
00021
00022 #define DSP_ERRORBASE 7000
00023
00024 #define DSP_EBADLA (DSP_ERRORBASE+1)
00025 #define DSP_EBADDR (DSP_ERRORBASE+2)
00026 #define DSP_EBADFILETYPE (DSP_ERRORBASE+3)
00027 #define DSP_EBADSECTION (DSP_ERRORBASE+4)
00028 #define DSP_EBADLNKFILE (DSP_ERRORBASE+5)
00029 #define DSP_EBADLODFILE (DSP_ERRORBASE+6)
00030 #define DSP_ETIMEOUT (DSP_ERRORBASE+7)
00031 #define DSP_EBADSYMBOL (DSP_ERRORBASE+8)
00032 #define DSP_EBADFILEFORMAT (DSP_ERRORBASE+9)
00033 #define DSP_EBADMEMMAP (DSP_ERRORBASE+10)
00034
00035
00036 #define DSP_EMISC (DSP_ERRORBASE+11)
00037 #define DSP_EPEOF (DSP_ERRORBASE+12)
00038 #define DSP_EPROTOCOL (DSP_ERRORBASE+13)
00039 #define DSP_EBADRAM (DSP_ERRORBASE+14)
00040 #define DSP_ESYSHUNG (DSP_ERRORBASE+15)
00041 #define DSP_EBADDSPFILE (DSP_ERRORBASE+16)
00042 #define DSP_EILLDMA (DSP_ERRORBASE+17)
00043 #define DSP_ENOMSG (DSP_ERRORBASE+18)
00044 #define DSP_EBADMKLC (DSP_ERRORBASE+19)
00045 #define DSP_EBADVERSION (DSP_ERRORBASE+20)
00046 #define DSP_EDSP (DSP_ERRORBASE+21)
00047 #define DSP_EILLADDR (DSP_ERRORBASE+22)
00048 #define DSP_EHWERR (DSP_ERRORBASE+23)
00049 #define DSP_EFPOVFL (DSP_ERRORBASE+24)
00050 #define DSP_EHMSOVFL (DSP_ERRORBASE+25)
00051 #define DSP_EMACH (DSP_ERRORBASE+26)
00052 #define DSP_EUSER (DSP_ERRORBASE+27)
00053 #define DSP_EABORT (DSP_ERRORBASE+28)
00054 #define DSP_ENOTOPEN (DSP_ERRORBASE+29)
00055 #define DSP_EQUINT (DSP_ERRORBASE+30)
00056
00057 #define DSP_EUNIX (-1)
00058
00059 #endif