OLD | NEW |
1 #ifndef _FMTMSG_H | 1 #ifndef _FMTMSG_H |
2 #define _FMTMSG_H | 2 #define _FMTMSG_H |
3 | 3 |
4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
5 extern "C" { | 5 extern "C" { |
6 #endif | 6 #endif |
7 | 7 |
8 #define MM_HARD»» 1 | 8 #define MM_HARD 1 |
9 #define MM_SOFT»» 2 | 9 #define MM_SOFT 2 |
10 #define MM_FIRM»» 4 | 10 #define MM_FIRM 4 |
11 | 11 |
12 #define MM_APPL»» 8 | 12 #define MM_APPL 8 |
13 #define MM_UTIL»» 16 | 13 #define MM_UTIL 16 |
14 #define MM_OPSYS» 32 | 14 #define MM_OPSYS 32 |
15 | 15 |
16 #define MM_RECOVER» 64 | 16 #define MM_RECOVER 64 |
17 #define MM_NRECOV» 128 | 17 #define MM_NRECOV 128 |
18 | 18 |
19 #define MM_PRINT» 256 | 19 #define MM_PRINT 256 |
20 #define MM_CONSOLE» 512 | 20 #define MM_CONSOLE 512 |
21 | 21 |
22 #define MM_NULLMC» 0L | 22 #define MM_NULLMC 0L |
23 | 23 |
24 #define MM_HALT»» 1 | 24 #define MM_HALT 1 |
25 #define MM_ERROR» 2 | 25 #define MM_ERROR 2 |
26 #define MM_WARNING» 3 | 26 #define MM_WARNING 3 |
27 #define MM_INFO»» 4 | 27 #define MM_INFO 4 |
28 #define MM_NOSEV» 0 | 28 #define MM_NOSEV 0 |
29 | 29 |
30 #define MM_OK» » 0 | 30 #define MM_OK 0 |
31 #define MM_NOTOK» (-1) | 31 #define MM_NOTOK (-1) |
32 #define MM_NOMSG» 1 | 32 #define MM_NOMSG 1 |
33 #define MM_NOCON» 4 | 33 #define MM_NOCON 4 |
34 | 34 |
35 #define MM_NULLLBL» ((char*)0) | 35 #define MM_NULLLBL ((char*)0) |
36 #define MM_NULLTXT» ((char*)0) | 36 #define MM_NULLTXT ((char*)0) |
37 #define MM_NULLACT» ((char*)0) | 37 #define MM_NULLACT ((char*)0) |
38 #define MM_NULLTAG» ((char*)0) | 38 #define MM_NULLTAG ((char*)0) |
39 #define MM_NULLSEV» 0 | 39 #define MM_NULLSEV 0 |
40 | 40 |
41 int fmtmsg(long, const char *, int, const char *, const char *, const char *); | 41 int fmtmsg(long, const char*, int, const char*, const char*, const char*); |
42 | 42 |
43 #ifdef __cplusplus | 43 #ifdef __cplusplus |
44 } | 44 } |
45 #endif | 45 #endif |
46 | 46 |
47 #endif | 47 #endif |
OLD | NEW |