cmap_errno.h

Go to the documentation of this file.
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 2.1 of the License, or (at your option) any later
00009      version.
00010 
00011      This library is distributed in the hope that it will be useful,
00012      but WITHOUT ANY WARRANTY; without even the implied warranty of
00013      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014      Lesser General Public License for more details.
00015 
00016      You should have received a copy of the GNU Lesser General Public
00017      License along with this library; if not, write to the Free
00018      Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019      Boston, MA 02110-1301 USA
00020 
00021 */
00022 
00028 #ifndef __GUARD_MAPLIB_ERR
00029 #define __GUARD_MAPLIB_ERR
00030 
00031 #include "ccp4_errno.h"
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036 
00037 #define CMAP_ERRNO(n) (CCP4_ERR_MAP | (n))
00038 
00039 /* error defs */
00040 #define  CMERR_Ok                  0
00041 #define  CMERR_NoChannel           1
00042 #define  CMERR_NoFile              2
00043 #define  CMERR_NoLogicalName       3
00044 #define  CMERR_CantOpenFile        4
00045 #define  CMERR_NoHeader            5
00046 #define  CMERR_ReadFail            6
00047 #define  CMERR_WriteFail           7
00048 #define  CMERR_ParamError          8
00049 #define  CMERR_UnrecognK           9
00050 #define  CMERR_FileStamp           10
00051 #define  CMERR_SymErr              11
00052 #define  CMERR_AllocFail           12
00053 #define  CMERR_MaxFile             13
00054 #define  CMERR_SeekFail            14
00055 
00056 #ifdef __cplusplus
00057 }
00058 #endif
00059 
00060 #endif     /* __GUARD_MAPLIB_ERR */
00061 
00062 
00063 /*
00064   Local variables:
00065   mode: font-lock
00066   End:
00067 */

Generated on Wed Oct 29 21:14:37 2008 for gpp4 by  doxygen 1.4.7