gpp4
1.3.1
|
00001 /* 00002 cmap_errno.h: error codes for map handling functions 00003 Copyright (C) 2001 CCLRC, Charles Ballard 00004 00005 This library is free software: you can redistribute it and/or 00006 modify it under the terms of the GNU Lesser General Public 00007 License as published by the Free Software Foundation, either 00008 version 3 of the License, or (at your option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public 00016 License along with This library. If not, see 00017 <http://www.gnu.org/licenses/>. 00018 00019 */ 00020 00026 #ifndef __GUARD_MAPLIB_ERR 00027 #define __GUARD_MAPLIB_ERR 00028 00029 #include "ccp4_errno.h" 00030 00031 #ifdef __cplusplus 00032 extern "C" { 00033 #endif 00034 00035 #define CMAP_ERRNO(n) (CCP4_ERR_MAP | (n)) 00036 00037 /* error defs */ 00038 #define CMERR_Ok 0 00039 #define CMERR_NoChannel 1 00040 #define CMERR_NoFile 2 00041 #define CMERR_NoLogicalName 3 00042 #define CMERR_CantOpenFile 4 00043 #define CMERR_NoHeader 5 00044 #define CMERR_ReadFail 6 00045 #define CMERR_WriteFail 7 00046 #define CMERR_ParamError 8 00047 #define CMERR_UnrecognK 9 00048 #define CMERR_FileStamp 10 00049 #define CMERR_SymErr 11 00050 #define CMERR_AllocFail 12 00051 #define CMERR_MaxFile 13 00052 #define CMERR_SeekFail 14 00053 00054 #ifdef __cplusplus 00055 } 00056 #endif 00057 00058 #endif /* __GUARD_MAPLIB_ERR */ 00059 00060 00061 /* 00062 Local variables: 00063 mode: font-lock 00064 End: 00065 */