/usr/include/libmsym/msym_error.h is in libavogadro-dev 1.2.0-3.
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 52 | //
// msym_error.h
// libmsym
//
// Created by Marcus Johansson on 30/01/15.
// Copyright (c) 2015 Marcus Johansson.
//
// Distributed under the MIT License ( See LICENSE file or copy at http://opensource.org/licenses/MIT )
//
#ifndef __MSYM__ERROR_H
#define __MSYM__ERROR_H
#ifdef __cplusplus
extern "C" {
#endif
enum _msym_error {
MSYM_SUCCESS = 0,
MSYM_INVALID_INPUT = -1,
MSYM_INVALID_CONTEXT = -2,
MSYM_INVALID_THRESHOLD = -3,
MSYM_INVALID_ELEMENTS = -4,
MSYM_INVALID_ORBITALS = -5,
MSYM_INVALID_POINT_GROUP = -6,
MSYM_INVALID_EQUIVALENCE_SET = -7,
MSYM_INVALID_PERMUTATION = -8,
MSYM_INVALID_GEOMETRY = -9,
MSYM_INVALID_CHARACTER_TABLE = -10,
MSYM_INVALID_SUBSPACE = -11,
MSYM_INVALID_AXES = -12,
MSYM_SYMMETRY_ERROR = -13,
MSYM_PERMUTATION_ERROR = -14,
MSYM_POINT_GROUP_ERROR = -15,
MSYM_SYMMETRIZATION_ERROR = -16,
MSYM_ORBITAL_ERROR = -17
};
typedef enum _msym_error msym_error_t;
const char *msymErrorString(msym_error_t error);
void msymSetErrorDetails(const char *format, ...);
const char *msymGetErrorDetails();
#ifdef __cplusplus
}
#endif
#endif /* defined(__MSYM__ERROR_H) */
|