Lines Matching defs:severity

37  *	addseverity()	Adds a severity definition to the list of known
38 * severity definitions.
110 #define ST_SEV "severity"
130 * MV_SEV "severity" selected
182 * and the severity from what follows it.
204 * sevvalue Value of the severity-level being defined
205 * sevkywd Keyword identifying the severity
214 * 2) is the list of severity-levels defined by SEV_LEVEL
215 * 3) is the list of severity-levels defined by calls to
377 * Parses a string that is in the format of the severity definitions.
388 * A pointer to a malloc'd structure containing the severity definition
407 int val; /* Converted severity value */
470 * severity definition
486 * Invalid severity value,
497 * Invalid severity definition,
581 /* Check for "severity" */
614 * This function builds a structure containing auxillary severity
639 /* Continue for all severity descriptions */
656 * int value Value of the severity
657 * const char *string Print-string for the severity
661 * The integer value of the severity being added
664 * whenever a severity of "value" is printed
672 * This function permits C applications to define severity-levels
680 struct sevstr *p; /* Temp ptr to severity structs */
681 struct sevstr *q; /* Temp ptr(follower) to severity */
728 /* Allocate space for the severity structure */
736 * the head of the augmented severity list.
745 /* Successfully added a new severity */
748 /* Attempting to undefined a non-defined severity */
752 /* Successfully redefined a severity */
786 * void writemsg(buf, size, verbosity, label, severity, text, action, tag)
794 * int severity The severity value of the message
800 * severity-component, text-component, action-component, and tag-
812 int verbosity, const char *label, int severity,
815 struct sevstr *psev; /* Ptr for severity str list */
817 char *sevpstr = NULL; /* Pointer to severity string */
825 int dosev; /* TRUE if severity to be written */
849 dosev = (verbosity & MV_SEV) && (severity != MM_NULLSEV);
867 * If severity req'd, determine the severity string and factor
872 * 4. Use the default (SV=n where n is the value of the severity).
876 /* Search the default severity definitions */
879 if (psev->sevvalue == severity)
886 * Search the severity definitions
891 if (psev->sevvalue == severity)
897 * Search the severity definitions
902 if (psev->sevvalue == severity)
907 /* Use default string, SV=severity */
909 itoa(severity, &sevpstrbuf[3]);
981 /* Write the severity print-string */
1052 * int fmtmsg(class, label, severity, text, action, tag)
1055 * int severity
1070 * severity Identifies the severity of the message. Either one
1088 fmtmsg(long class, const char *label, int severity,
1111 * Extract the severity definitions from the SEV_LEVEL
1129 msgverb, label, severity, text, action, tag);
1136 MV_ALL, label, severity, text, action, tag);