/usr/include/m-error.h is in libmdc2-dev 0.14.1-1.
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 53 54 55 56 57 58 59 60 61 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* filename: m-error.h *
* *
* UTIL C-source: Medical Image Conversion Utility *
* *
* purpose : m-error.c header file *
* *
* project : (X)MedCon by Erik Nolf *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* $Id: m-error.h,v 1.18 2015/12/22 13:59:30 enlf Exp $
*/
/*
Copyright (C) 1997-2016 by Erik Nolf
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any later
version.
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 General
Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
59 Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef __M_ERROR_H__
#define __M_ERROR_H__
/****************************************************************************
D E F I N E S
****************************************************************************/
#define MDC_OK 0 /* return codes */
#define MDC_BAD_OPEN -1
#define MDC_BAD_CLOSE -2
#define MDC_BAD_FILE -3
#define MDC_BAD_READ -4
#define MDC_UNEXPECTED_EOF -5
#define MDC_BAD_CODE -6
#define MDC_BAD_FIRSTCODE -7
#define MDC_BAD_ALLOC -8
#define MDC_BAD_SYMBOLSIZE -9
#define MDC_OVER_FLOW -10
#define MDC_NO_CODE -11
#define MDC_BAD_WRITE -12
/****************************************************************************
F U N C T I O N S
****************************************************************************/
void MdcPrntScrn(char *fmt, ...);
void MdcPrntWarn(char *fmt, ...);
void MdcPrntMesg(char *fmt, ...);
void MdcPrntErr(int code, char *fmt, ...);
#endif
|