2
0

fmtmsg.h 741 B

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