*** empty log message ***
[dyninst.git] / visi / h / error.h
1 /* $Log: error.h,v $
2 /* Revision 1.1  1994/03/14 20:27:28  newhall
3 /* changed visi subdirectory structure
4 /*  */ 
5 #ifndef _error_h
6 #define _error_h
7 #include <stdio.h>
8 #include <math.h>
9 #define INVALID            0
10 #define VALID              1
11 #define NOVALUE           -1
12 #define OK                 0
13 #define VISI_ERROR_BASE   -19
14 #define ERROR_REALLOC     -20
15 #define ERROR_CREATEGRID  -21
16 #define ERROR_SUBSCRIPT   -22
17 #define ERROR_AGGREGATE   -23
18 #define ERROR_NOELM       -24
19 #define ERROR_MALLOC      -25
20 #define ERROR_STRNCPY     -26
21 #define ERROR_INIT        -27
22 #define VISI_ERROR_MAX    -27
23 #define ERROR              quiet_nan() 
24
25 typedef enum {DATAVALUES,INVALIDMETRICSRESOURCES,ADDMETRICSRESOURCES,
26               NEWMETRICSRESOURCES,PHASENAME,FOLD} msgTag;
27
28 extern void visi_ErrorHandler(int errno,char *msg);
29 #endif