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