File: file_err.h

package info (click to toggle)
libtifiles0 0.6.6-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 3,256 kB
  • ctags: 1,975
  • sloc: ansic: 13,505; sh: 9,221; makefile: 516; yacc: 288; awk: 145; sed: 16
file content (36 lines) | stat: -rw-r--r-- 1,505 bytes parent folder | download | duplicates (2)
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
/* Hey EMACS -*- linux-c -*- */
/* $Id: file_err.h 368 2004-03-22 18:42:08Z roms $ */

/*  libtifiles - Ti File Format library, a part of the TiLP project
 *  Copyright (C) 1999-2004  Romain Lievin
 *
 *  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 of the License, 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 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

#ifndef __TIFILES_ERRCODES__
#define __TIFILES_ERRCODES__

/* Error codes must begin at 512 up to 767 */

#define ERR_MALLOC           512	// Error with malloc
#define ERR_FILE_OPEN        513	// Unable to open file
#define ERR_FILE_CLOSE       514	// Unable to close file
#define ERR_GROUP_SIZE       515	// Group size exceeded (>64KB)
#define ERR_BAD_CALC	     516	// The function does not exist for this calc
#define ERR_INVALID_FILE     517	// Is not a TI file
#define ERR_BAD_FILE         518	// Same as above
#define ERR_FILE_CHECKSUM    519	// Checksum error

#endif