source: SH_SHM/trunk/source/sserrors.h @ 344

Revision 16, 2.0 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 SSERRORS.H
3 *      ==========
4 *
5 * version 2, 22-MAY-2006
6 *
7 * error codes of module SHSYMBOL
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 __SSERRORS
36#define __SSERRORS
37
38#define SSE_NOERROR   0
39#define SSE_OFFSET    2300
40#define SSE_ILSET     (SSE_OFFSET+1)   /* illegal set number */
41#define SSE_OVFL      (SSE_OFFSET+2)   /* no more symbols definable */
42#define SSE_UDSYM     (SSE_OFFSET+3)   /* undefined symbol */
43#define SSE_VALLTH    (SSE_OFFSET+4)   /* symbol value too long */
44#define SSE_NAMLTH    (SSE_OFFSET+5)   /* symbol name too long */
45#define SSE_RETLTH    (SSE_OFFSET+6)   /* value output string too short */
46#define SSE_CPOVFL    (SSE_OFFSET+7)   /* not existing command parameter */
47#define SSE_CNVNUM    (SSE_OFFSET+8)   /* error converting number */
48#define SSE_PUSH      (SSE_OFFSET+9)   /* error saving cmdpar's & symbols */
49#define SSE_POP       (SSE_OFFSET+10)  /* error popping cmdpar's & symbols*/
50#define SSE_DEFAULT   (SSE_OFFSET+11)  /* illegal par-no in default cmd */
51#define SSE_DEFLTH    (SSE_OFFSET+12)  /* default string too long */
52
53#endif /* __SSERRORS */
Note: See TracBrowser for help on using the repository browser.