3 static const char sccsid_msgH[] =
"@(#)"__FILE__
"\t\t1.55\tCreated 3/8/98 02:07:33, \tcompiled "__DATE__
" "__TIME__;
24 #include <sys/types.h>
34 typedef void (*
funcPoint)(
const char*,
const char*,
const int*);
37 void Message(
const char *msg,
int *ID );
40 void MsgAlarm(
const char *msg,
int severity );
46 void MsgCheck(
const char *msg,
int *ID,
int *Active,
int *Alarming,
int *Counting );
47 void MsgClassDefine(
const char *Class,
const char *State,
int CountLimit,
int AbortLimit );
48 void MsgClean(
int length,
char string[] );
63 void MsgEnter(
const char *Prefix,
int *ID );
65 FILE *
MsgFileOpen(
const char* FileName,
const char* FileAccessMode );
66 int MsgFind(
const char *Prefix,
int *ID,
int *Active,
int *Alarming,
int *Counting );
68 void MsgGetClass(
const char *Prefix,
char *Class );
72 void MsgInit(
const char *switches, ... );
80 int MsgLNB(
const char *
string,
int n );
81 void MsgMark(
const char *Prefix,
int *ID );
85 void MsgParse(
const char *msg,
char *prefix,
char **message );
86 void MsgParsePrefix(
const char *Prefix,
char *PrefixStripped,
int *PrefixNumber );
87 void MsgPrefixGet(
const char *Prefix,
int *Counts,
int *CountLimit,
int *Level
88 ,
int *AbortLimit,
int *Active,
int *Counting,
int *Alarming,
char State[9] );
89 void MsgPrefixSet(
const char *Prefix,
int CountLimit,
int Level
90 ,
int AbortLimit,
int Active,
int Counting,
int Alarming );
107 void MsgState(
int Counts,
int Limit,
int Level,
int AbortLimit,
int Active,
int Counting,
int Alarming,
char State[9] );
119 void MsgToFile(
const char *msg, FILE *fid,
int *ID );
127 void MsgGetLUN(
int *Terminal_LUN,
int *Journal_LUN );
130 void MsgSetLUN(
int TERMINAL_LUN,
int JOURNAL_LUN );
136 void MsgToLUN(
const char *msg,
int LUN,
int *ID );
void MsgTimeStampOut(int LUN)
void MsgSetLevel(const char *Prefix, int Level)
void MsgPrefixSet(const char *Prefix, int CountLimit, int Level, int AbortLimit, int Active, int Counting, int Alarming)
void MsgSetSummaryModeInactive(int Mode)
void MsgResetID(const int ID)
void MsgDisableAlarm(const char *Prefix)
void MsgClean(int length, char string[])
void MsgPrefixGet(const char *Prefix, int *Counts, int *CountLimit, int *Level, int *AbortLimit, int *Active, int *Counting, int *Alarming, char State[9])
void MsgGetLUN(int *Terminal_LUN, int *Journal_LUN)
void MsgAlarmRoutineSample(char *Prefix, char *sansPrefix, int *Level)
void MessageOut(const char *msg)
void MsgDisplayAndEcho(const char *msg, int LUN, int *ID)
int MsgSetByCommand(const char *Command)
void MsgParsePrefix(const char *Prefix, char *PrefixStripped, int *PrefixNumber)
void MsgNodeNameSet(const char *NodeName)
void MsgDisable(const char *Prefix)
void MsgSummaryFile(FILE *fid)
void MsgAbortCheck(const int ID)
void MsgSummaryEventFile(FILE *fid, int EVENTS)
void MsgSetLUN(int TERMINAL_LUN, int JOURNAL_LUN)
int MsgFindClass(const char *Clas, int *ID)
void(* funcPoint)(const char *, const char *, const int *)
void MsgSetSummaryModeAborted(int Mode)
int MsgStateStore(const char *fileName)
void MsgNameNode(const char *NodeName)
void MsgSetSummaryModeActive(int Mode)
int MsgEnabled(const char *Prefix, int *ID)
void MsgSummaryCPU(int LUN)
void MsgNoCount(const char *Prefix)
int MsgShareNoCreate(const pid_t ProcessID)
void MsgFinish(const char *switches, int Nevents)
FILE * MsgFileOpen(const char *FileName, const char *FileAccessMode)
void MsgToLUN(const char *msg, int LUN, int *ID)
void MsgTimeStamp(int LUN)
void MsgGetClass(const char *Prefix, char *Class)
void MsgAlarm(const char *msg, int severity)
void MsgJournalPage(void)
void MsgDisplayAndFileOut(const char *msg, FILE *fid)
void MsgEnable(const char *Prefix)
void MsgNodeNameGet(char *NodeName)
void MsgTimeStampFileOut(FILE *fid)
void MsgParse(const char *msg, char *prefix, char **message)
void MsgToJournal(const char *msg, int *ID)
int MsgJournalOpen(const char *FileName)
void MsgTimeStampFile(FILE *fid)
void MsgSetAbortLimit(const char *Prefix, int Limit)
void MsgCheck(const char *msg, int *ID, int *Active, int *Alarming, int *Counting)
void MsgSetSummaryModeCounting(int Mode)
int MsgLNB(const char *string, int n)
void MsgIncr(const int ID)
void MsgEnter(const char *Prefix, int *ID)
int MsgSetFromFile(FILE *fid)
int MsgFind(const char *Prefix, int *ID, int *Active, int *Alarming, int *Counting)
void MsgTruncate(char *string, int Size)
int MsgJournalClose(void)
void MsgDisplayAndFile(const char *msg, FILE *fid, int *ID)
void MsgDeleteID(const int ID)
void MsgSetSummaryPageLength(int Page_Length)
void MsgSetLimit(const char *Prefix, int Limit)
FILE * MsgJournalGet(void)
void MsgDisplayOut(const char *msg)
void MsgAppendReturn(void)
void Message(const char *msg, int *ID)
int MsgJournalEnabled(void)
void MsgDisplayAndEchoOut(const char *msg, int LUN)
void MsgSummaryEvent(int LUN, int EVENTS)
void MsgSummaryCPUFile(FILE *fid)
void MsgInit(const char *switches,...)
void MsgCount(const char *Prefix)
void MsgAlarmRegister(funcPoint AlarmRoutine)
void MsgSetTimeStampCPU(int Mode)
static const char sccsid_msgH[]
void MsgClassDefine(const char *Class, const char *State, int CountLimit, int AbortLimit)
void MsgMark(const char *Prefix, int *ID)
void MsgDisplay(const char *msg, int *ID)
void MsgToFileOut(const char *msg, FILE *fid)
void MsgToJournalOut(const char *msg)
void MsgNoAppendReturn(void)
void MsgToLUNOut(const char *msg, int LUN)
void MsgToFile(const char *msg, FILE *fid, int *ID)
void MsgState(int Counts, int Limit, int Level, int AbortLimit, int Active, int Counting, int Alarming, char State[9])
void MsgEnableAlarm(const char *Prefix)
int MsgStateLoad(const char *fileName)
int MsgRemoveSharedMemory(const pid_t ProcessID)
int MsgEnterClass(const char *Class, int *ID)