/usr/include/ccp4/cmap_errno.h is in libccp4-dev 6.4.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | /*
cmap_errno.h: error codes for map handling functions
Copyright (C) 2001 CCLRC, Charles Ballard
This library is free software: you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
version 3, modified in accordance with the provisions of the
license to address the requirements of UK law.
You should have received a copy of the modified GNU Lesser General
Public License along with this library. If not, copies may be
downloaded from http://www.ccp4.ac.uk/ccp4license.php
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
*/
#ifndef __GUARD_MAPLIB_ERR
#define __GUARD_MAPLIB_ERR
#include "ccp4_errno.h"
#ifdef __cplusplus
extern "C" {
#endif
#define CMAP_ERRNO(n) (CCP4_ERR_MAP | (n))
/* error defs */
#define CMERR_Ok 0
#define CMERR_NoChannel 1
#define CMERR_NoFile 2
#define CMERR_NoLogicalName 3
#define CMERR_CantOpenFile 4
#define CMERR_NoHeader 5
#define CMERR_ReadFail 6
#define CMERR_WriteFail 7
#define CMERR_ParamError 8
#define CMERR_UnrecognK 9
#define CMERR_FileStamp 10
#define CMERR_SymErr 11
#define CMERR_AllocFail 12
#define CMERR_MaxFile 13
#define CMERR_SeekFail 14
#ifdef __cplusplus
}
#endif
#endif /* __GUARD_MAPLIB_ERR */
|