Back to index

glibc  2.9
Defines | Enumerations | Functions
fmtmsg.h File Reference
#include <features.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MM_HARD   MM_HARD
#define MM_SOFT   MM_SOFT
#define MM_FIRM   MM_FIRM
#define MM_APPL   MM_APPL
#define MM_UTIL   MM_UTIL
#define MM_OPSYS   MM_OPSYS
#define MM_RECOVER   MM_RECOVER
#define MM_NRECOV   MM_NRECOV
#define MM_PRINT   MM_PRINT
#define MM_CONSOLE   MM_CONSOLE
#define MM_NOSEV   MM_NOSEV
#define MM_HALT   MM_HALT
#define MM_ERROR   MM_ERROR
#define MM_WARNING   MM_WARNING
#define MM_INFO   MM_INFO
#define MM_NULLLBL   ((char *) 0)
#define MM_NULLSEV   0
#define MM_NULLMC   ((long int) 0)
#define MM_NULLTXT   ((char *) 0)
#define MM_NULLACT   ((char *) 0)
#define MM_NULLTAG   ((char *) 0)
#define MM_NOTOK   MM_NOTOK
#define MM_OK   MM_OK
#define MM_NOMSG   MM_NOMSG
#define MM_NOCON   MM_NOCON

Enumerations

enum  {
  MM_HARD = 0x001, MM_HARD = 0x001, MM_SOFT = 0x002, MM_SOFT = 0x002,
  MM_FIRM = 0x004, MM_FIRM = 0x004, MM_APPL = 0x008, MM_APPL = 0x008,
  MM_UTIL = 0x010, MM_UTIL = 0x010, MM_OPSYS = 0x020, MM_OPSYS = 0x020,
  MM_RECOVER = 0x040, MM_RECOVER = 0x040, MM_NRECOV = 0x080, MM_NRECOV = 0x080,
  MM_PRINT = 0x100, MM_PRINT = 0x100, MM_CONSOLE
}
enum  {
  MM_NOSEV = 0, MM_NOSEV = 0, MM_HALT, MM_HALT,
  MM_ERROR, MM_ERROR, MM_WARNING, MM_WARNING
}
enum  {
  MM_NOTOK = -1, MM_NOTOK = -1, MM_OK = 0, MM_OK = 0,
  MM_NOMSG = 1, MM_NOMSG = 1, MM_NOCON
}

Functions

int fmtmsg (long int __classification, __const char *__label, int __severity, __const char *__text, __const char *__action, __const char *__tag)

Define Documentation

#define MM_APPL   MM_APPL

Definition at line 38 of file fmtmsg.h.

#define MM_CONSOLE   MM_CONSOLE
#define MM_ERROR   MM_ERROR

Definition at line 61 of file fmtmsg.h.

#define MM_FIRM   MM_FIRM

Definition at line 36 of file fmtmsg.h.

#define MM_HALT   MM_HALT

Definition at line 59 of file fmtmsg.h.

#define MM_HARD   MM_HARD

Definition at line 32 of file fmtmsg.h.

#define MM_INFO   MM_INFO

Definition at line 66 of file fmtmsg.h.

#define MM_NOCON   MM_NOCON
#define MM_NOMSG   MM_NOMSG

Definition at line 87 of file fmtmsg.h.

#define MM_NOSEV   MM_NOSEV

Definition at line 57 of file fmtmsg.h.

#define MM_NOTOK   MM_NOTOK

Definition at line 83 of file fmtmsg.h.

#define MM_NRECOV   MM_NRECOV

Definition at line 46 of file fmtmsg.h.

#define MM_NULLACT   ((char *) 0)

Definition at line 75 of file fmtmsg.h.

#define MM_NULLLBL   ((char *) 0)

Definition at line 71 of file fmtmsg.h.

#define MM_NULLMC   ((long int) 0)

Definition at line 73 of file fmtmsg.h.

#define MM_NULLSEV   0

Definition at line 72 of file fmtmsg.h.

#define MM_NULLTAG   ((char *) 0)

Definition at line 76 of file fmtmsg.h.

#define MM_NULLTXT   ((char *) 0)

Definition at line 74 of file fmtmsg.h.

#define MM_OK   MM_OK

Definition at line 85 of file fmtmsg.h.

#define MM_OPSYS   MM_OPSYS

Definition at line 42 of file fmtmsg.h.

#define MM_PRINT   MM_PRINT

Definition at line 48 of file fmtmsg.h.

#define MM_RECOVER   MM_RECOVER

Definition at line 44 of file fmtmsg.h.

#define MM_SOFT   MM_SOFT

Definition at line 34 of file fmtmsg.h.

#define MM_UTIL   MM_UTIL

Definition at line 40 of file fmtmsg.h.

#define MM_WARNING   MM_WARNING

Definition at line 64 of file fmtmsg.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
MM_HARD 
MM_HARD 
MM_SOFT 
MM_SOFT 
MM_FIRM 
MM_FIRM 
MM_APPL 
MM_APPL 
MM_UTIL 
MM_UTIL 
MM_OPSYS 
MM_OPSYS 
MM_RECOVER 
MM_RECOVER 
MM_NRECOV 
MM_NRECOV 
MM_PRINT 
MM_PRINT 
MM_CONSOLE 

Definition at line 29 of file fmtmsg.h.

{
  MM_HARD = 0x001,   /* Source of the condition is hardware.  */
#define MM_HARD MM_HARD
  MM_SOFT = 0x002,   /* Source of the condition is software.  */
#define MM_SOFT MM_SOFT
  MM_FIRM = 0x004,   /* Source of the condition is firmware.  */
#define MM_FIRM MM_FIRM
  MM_APPL = 0x008,   /* Condition detected by application.  */
#define MM_APPL MM_APPL
  MM_UTIL = 0x010,   /* Condition detected by utility.  */
#define MM_UTIL MM_UTIL
  MM_OPSYS = 0x020,  /* Condition detected by operating system.  */
#define MM_OPSYS MM_OPSYS
  MM_RECOVER = 0x040,       /* Recoverable error.  */
#define MM_RECOVER MM_RECOVER
  MM_NRECOV = 0x080, /* Non-recoverable error.  */
#define MM_NRECOV MM_NRECOV
  MM_PRINT = 0x100,  /* Display message in standard error.  */
#define MM_PRINT MM_PRINT
  MM_CONSOLE = 0x200 /* Display message on system console.  */
#define MM_CONSOLE MM_CONSOLE
};
anonymous enum
Enumerator:
MM_NOSEV 
MM_NOSEV 
MM_HALT 
MM_HALT 
MM_ERROR 
MM_ERROR 
MM_WARNING 
MM_WARNING 

Definition at line 54 of file fmtmsg.h.

{
  MM_NOSEV = 0,             /* No severity level provided for the message.  */
#define MM_NOSEV MM_NOSEV
  MM_HALT,           /* Error causing application to halt.  */
#define MM_HALT MM_HALT
  MM_ERROR,          /* Application has encountered a non-fatal fault.  */
#define MM_ERROR MM_ERROR
  MM_WARNING,        /* Application has detected unusual non-error
                        condition.  */
#define MM_WARNING MM_WARNING
  MM_INFO            /* Informative message.  */
#define MM_INFO MM_INFO
};
anonymous enum
Enumerator:
MM_NOTOK 
MM_NOTOK 
MM_OK 
MM_OK 
MM_NOMSG 
MM_NOMSG 
MM_NOCON 

Definition at line 80 of file fmtmsg.h.

{
  MM_NOTOK = -1,
#define MM_NOTOK MM_NOTOK
  MM_OK = 0,
#define MM_OK MM_OK
  MM_NOMSG = 1,
#define MM_NOMSG MM_NOMSG
  MM_NOCON = 4
#define MM_NOCON MM_NOCON
};

Function Documentation

int fmtmsg ( long int  __classification,
__const char *  __label,
int  __severity,
__const char *  __text,
__const char *  __action,
__const char *  __tag 
)