Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include
File: fmtmsg.h
/* Message display handling.
[0] Fix | Delete
Copyright (C) 1997-2018 Free Software Foundation, Inc.
[1] Fix | Delete
This file is part of the GNU C Library.
[2] Fix | Delete
[3] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[4] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[5] Fix | Delete
License as published by the Free Software Foundation; either
[6] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[7] Fix | Delete
[8] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[9] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[10] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[11] Fix | Delete
Lesser General Public License for more details.
[12] Fix | Delete
[13] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[14] Fix | Delete
License along with the GNU C Library; if not, see
[15] Fix | Delete
<http://www.gnu.org/licenses/>. */
[16] Fix | Delete
[17] Fix | Delete
#ifndef __FMTMSG_H
[18] Fix | Delete
#define __FMTMSG_H 1
[19] Fix | Delete
[20] Fix | Delete
#include <features.h>
[21] Fix | Delete
[22] Fix | Delete
[23] Fix | Delete
__BEGIN_DECLS
[24] Fix | Delete
[25] Fix | Delete
/* Values to control `fmtmsg' function. */
[26] Fix | Delete
enum
[27] Fix | Delete
{
[28] Fix | Delete
MM_HARD = 0x001, /* Source of the condition is hardware. */
[29] Fix | Delete
#define MM_HARD MM_HARD
[30] Fix | Delete
MM_SOFT = 0x002, /* Source of the condition is software. */
[31] Fix | Delete
#define MM_SOFT MM_SOFT
[32] Fix | Delete
MM_FIRM = 0x004, /* Source of the condition is firmware. */
[33] Fix | Delete
#define MM_FIRM MM_FIRM
[34] Fix | Delete
MM_APPL = 0x008, /* Condition detected by application. */
[35] Fix | Delete
#define MM_APPL MM_APPL
[36] Fix | Delete
MM_UTIL = 0x010, /* Condition detected by utility. */
[37] Fix | Delete
#define MM_UTIL MM_UTIL
[38] Fix | Delete
MM_OPSYS = 0x020, /* Condition detected by operating system. */
[39] Fix | Delete
#define MM_OPSYS MM_OPSYS
[40] Fix | Delete
MM_RECOVER = 0x040, /* Recoverable error. */
[41] Fix | Delete
#define MM_RECOVER MM_RECOVER
[42] Fix | Delete
MM_NRECOV = 0x080, /* Non-recoverable error. */
[43] Fix | Delete
#define MM_NRECOV MM_NRECOV
[44] Fix | Delete
MM_PRINT = 0x100, /* Display message in standard error. */
[45] Fix | Delete
#define MM_PRINT MM_PRINT
[46] Fix | Delete
MM_CONSOLE = 0x200 /* Display message on system console. */
[47] Fix | Delete
#define MM_CONSOLE MM_CONSOLE
[48] Fix | Delete
};
[49] Fix | Delete
[50] Fix | Delete
/* Values to be for SEVERITY parameter of `fmtmsg'. */
[51] Fix | Delete
enum
[52] Fix | Delete
{
[53] Fix | Delete
MM_NOSEV = 0, /* No severity level provided for the message. */
[54] Fix | Delete
#define MM_NOSEV MM_NOSEV
[55] Fix | Delete
MM_HALT, /* Error causing application to halt. */
[56] Fix | Delete
#define MM_HALT MM_HALT
[57] Fix | Delete
MM_ERROR, /* Application has encountered a non-fatal fault. */
[58] Fix | Delete
#define MM_ERROR MM_ERROR
[59] Fix | Delete
MM_WARNING, /* Application has detected unusual non-error
[60] Fix | Delete
condition. */
[61] Fix | Delete
#define MM_WARNING MM_WARNING
[62] Fix | Delete
MM_INFO /* Informative message. */
[63] Fix | Delete
#define MM_INFO MM_INFO
[64] Fix | Delete
};
[65] Fix | Delete
[66] Fix | Delete
[67] Fix | Delete
/* Macros which can be used as null values for the arguments of `fmtmsg'. */
[68] Fix | Delete
#define MM_NULLLBL ((char *) 0)
[69] Fix | Delete
#define MM_NULLSEV 0
[70] Fix | Delete
#define MM_NULLMC ((long int) 0)
[71] Fix | Delete
#define MM_NULLTXT ((char *) 0)
[72] Fix | Delete
#define MM_NULLACT ((char *) 0)
[73] Fix | Delete
#define MM_NULLTAG ((char *) 0)
[74] Fix | Delete
[75] Fix | Delete
[76] Fix | Delete
/* Possible return values of `fmtmsg'. */
[77] Fix | Delete
enum
[78] Fix | Delete
{
[79] Fix | Delete
MM_NOTOK = -1,
[80] Fix | Delete
#define MM_NOTOK MM_NOTOK
[81] Fix | Delete
MM_OK = 0,
[82] Fix | Delete
#define MM_OK MM_OK
[83] Fix | Delete
MM_NOMSG = 1,
[84] Fix | Delete
#define MM_NOMSG MM_NOMSG
[85] Fix | Delete
MM_NOCON = 4
[86] Fix | Delete
#define MM_NOCON MM_NOCON
[87] Fix | Delete
};
[88] Fix | Delete
[89] Fix | Delete
[90] Fix | Delete
/* Print message with given CLASSIFICATION, LABEL, SEVERITY, TEXT, ACTION
[91] Fix | Delete
and TAG to console or standard error. */
[92] Fix | Delete
extern int fmtmsg (long int __classification, const char *__label,
[93] Fix | Delete
int __severity, const char *__text,
[94] Fix | Delete
const char *__action, const char *__tag);
[95] Fix | Delete
[96] Fix | Delete
#ifdef __USE_MISC
[97] Fix | Delete
/* Add or remove severity level. */
[98] Fix | Delete
extern int addseverity (int __severity, const char *__string) __THROW;
[99] Fix | Delete
#endif
[100] Fix | Delete
[101] Fix | Delete
__END_DECLS
[102] Fix | Delete
[103] Fix | Delete
#endif /* fmtmsg.h */
[104] Fix | Delete
[105] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function