zem_errors.h

Go to the documentation of this file.
00001 #ifndef _ZEM_ERRORS_H
00002 #define _ZEM_ERRORS_H
00003 
00004 /**********************************************
00005  *      Executable manipulation library       * 
00006  *                  by Zadig                  *
00007  *                                            *
00008  * This file contains all Errors of the       *
00009  * project.                                   *
00010  **********************************************/
00011 
00012 /*********************
00013  *  Errors Families  *
00014  *********************/
00015 #define FILELIB                     0xFFFE0000
00016 #define ZEMLIB                      0xFFFD0000
00017 
00018 /*****************
00019  *  FILE Errors  *
00020  *****************/
00021 #define FILE_ERROR_READ            (FILELIB | 0x0001)  
00022 #define FILE_ERROR_WRITE           (FILELIB | 0x0002) 
00023 #define FILE_ERROR_OPEN            (FILELIB | 0x0003)
00024 #define FILE_ERROR_CLOSE           (FILELIB | 0x0004)  
00025 #define FILE_ERROR_PARAMETER       (FILELIB | 0x0005) 
00026 #define FILE_ERROR_EOF             (FILELIB | 0x0006) 
00027 #define FILE_ERROR_OVERFLOW        (FILELIB | 0x0007) 
00028 #define FILE_ERROR_SEEK            (FILELIB | 0x0008)
00029 
00030 /****************
00031  *  ZEM Errors  *
00032  ****************/
00033 #define ZEM_ERROR_NOT_FOUND        (ZEMLIB | 0x0001)  
00034 #define ZEM_ERROR_PARAM            (ZEMLIB | 0x0002)   
00035 #define ZEM_ERROR_MALLOC           (ZEMLIB | 0x0003)   
00036 #define ZEM_ERROR_MFREE            (ZEMLIB | 0x0004)   
00037 #define ZEM_ERROR_ENTRY            (ZEMLIB | 0x0005)
00038 
00039 #endif

Generated on Tue Nov 29 20:13:16 2005 for REVENG by  doxygen 1.4.5