gpp4
1.3.1
Main Page
Related Pages
Classes
Files
File List
File Members
src
cmap_errno.h
Go to the documentation of this file.
1
/*
2
cmap_errno.h: error codes for map handling functions
3
Copyright (C) 2001 CCLRC, Charles Ballard
4
5
This library is free software: you can redistribute it and/or
6
modify it under the terms of the GNU Lesser General Public
7
License as published by the Free Software Foundation, either
8
version 3 of the License, or (at your option) any later version.
9
10
This library is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
Lesser General Public License for more details.
14
15
You should have received a copy of the GNU Lesser General Public
16
License along with This library. If not, see
17
<http://www.gnu.org/licenses/>.
18
19
*/
20
26
#ifndef __GUARD_MAPLIB_ERR
27
#define __GUARD_MAPLIB_ERR
28
29
#include "
ccp4_errno.h
"
30
31
#ifdef __cplusplus
32
extern
"C"
{
33
#endif
34
35
#define CMAP_ERRNO(n) (CCP4_ERR_MAP | (n))
36
37
/* error defs */
38
#define CMERR_Ok 0
39
#define CMERR_NoChannel 1
40
#define CMERR_NoFile 2
41
#define CMERR_NoLogicalName 3
42
#define CMERR_CantOpenFile 4
43
#define CMERR_NoHeader 5
44
#define CMERR_ReadFail 6
45
#define CMERR_WriteFail 7
46
#define CMERR_ParamError 8
47
#define CMERR_UnrecognK 9
48
#define CMERR_FileStamp 10
49
#define CMERR_SymErr 11
50
#define CMERR_AllocFail 12
51
#define CMERR_MaxFile 13
52
#define CMERR_SeekFail 14
53
54
#ifdef __cplusplus
55
}
56
#endif
57
58
#endif
/* __GUARD_MAPLIB_ERR */
59
60
61
/*
62
Local variables:
63
mode: font-lock
64
End:
65
*/
ccp4_errno.h
Header file for error handling routines Error codes based on system errors.
Generated on Wed Feb 5 2014 01:16:28 for gpp4 by
1.8.6