source: SH_SHM/trunk/source/flerrors.h @ 374

Revision 16, 2.3 KB checked in by marcus, 15 years ago (diff)

r1 | svn | 2007-12-13 11:10:29 +0100 (Do, 13 Dez 2007) | 2 lines

Initial import

Line 
1
2/* file FLERRORS.H
3 *      ==========
4 *
5 * version 4, 22-May-2006
6 *
7 * error codes of modules FFTFILTR & RECFILTR
8 * K. Stammler, 22-MAY-91
9 */
10
11
12/*
13 *
14 *  SeismicHandler, seismic analysis software
15 *  Copyright (C) 1996,  Klaus Stammler, Federal Institute for Geosciences
16 *                                       and Natural Resources (BGR), Germany
17 *
18 *  This program is free software; you can redistribute it and/or modify
19 *  it under the terms of the GNU General Public License as published by
20 *  the Free Software Foundation; either version 2 of the License, or
21 *  (at your option) any later version.
22 *
23 *  This program is distributed in the hope that it will be useful,
24 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
25 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26 *  GNU General Public License for more details.
27 *
28 *  You should have received a copy of the GNU General Public License
29 *  along with this program; if not, write to the Free Software
30 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
31 *
32 */
33
34
35#ifndef __FLERRORS
36#define __FLERRORS
37
38#define FLE_OFFSET 2000
39#define FLE_NOERROR 0
40#define FLE_TOOMANY   (FLE_OFFSET+1)   /* too many filters */
41#define FLE_STROVFL   (FLE_OFFSET+2)   /* string overflow */
42#define FLE_OPNREAD   (FLE_OFFSET+3)   /* input file open error */
43#define FLE_FREAD     (FLE_OFFSET+4)   /* file read error */
44#define FLE_NOMAGIC   (FLE_OFFSET+5)   /* not a filter file */
45#define FLE_NORECFIL  (FLE_OFFSET+6)   /* not a recursive filter */
46#define FLE_DEGOVFL   (FLE_OFFSET+7)   /* degree to large */
47#define FLE_ZEROLTH   (FLE_OFFSET+8)   /* zero length trace as input */
48#define FLE_NOFILTER  (FLE_OFFSET+9)   /* no filter read in */
49#define FLE_DTMISMCH  (FLE_OFFSET+10)  /* sample distance of filter does not match */
50#define FLE_NORATFCT  (FLE_OFFSET+11)  /* no zero & pole filter file */
51#define FLE_EOFF      (FLE_OFFSET+12)  /* end of filter file */
52#define FLE_COMPRESS  (FLE_OFFSET+13)  /* filter compressing not possible */
53#define FLE_NOFILFUNC (FLE_OFFSET+14)  /* no digital filter function */
54#define FLE_READERR   (FLE_OFFSET+15)  /* read error on file */
55#define FLE_FILFRANGE (FLE_OFFSET+16)  /* range error in digital filter */
56#define FLE_STARTUP   (FLE_OFFSET+17)  /* error in parameters for startup */
57
58#endif /* __FLERRORS */
Note: See TracBrowser for help on using the repository browser.