GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EMSG / dev > emsg_mt / i845e
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <EMSG/EMSG_pubdefs.h>
Functions | |
void | EMSG_print (EMSG_OutputModes mode, void *prm, const EMSG_Message *msg) |
Output processor callback routine to simply print messages. | |
unsigned int | EMSG_printOptions (unsigned int mask, unsigned int valu) |
Selective set and clear of print processor options. |
.. a simple printer.
This file contains the most basic output processor ... it simply prints the message.
void EMSG_print | ( | EMSG_OutputModes | mode, | |
void * | prm, | |||
const EMSG_Message * | msg | |||
) |
Output processor callback routine to simply print messages.
This routine prints a message using printf
following options provided by the user.
mode | (in) Output processor calling mode | |
prm | (in) User parameter | |
msg | (in) Message structure |
References _EMSG_Message::code, EMSG_M_DATE, EMSG_M_DUMP, EMSG_M_MSEC, EMSG_M_NAME, EMSG_M_NSEC, EMSG_M_ROUTINE, EMSG_M_TASK, EMSG_M_TEXT, EMSG_M_TIME, EMSG_OUT_NORMAL, _EMSG_Message::fac, _EMSG_Message::nick, _EMSG_Message::rtn, _EMSG_Message::sev, _EMSG_Message::task, _EMSG_Message::text, _EMSG_Message::time, and _EMSG_Message::trace.
unsigned int EMSG_printOptions | ( | unsigned int | mask, | |
unsigned int | valu | |||
) |
Selective set and clear of print processor options.
This routine does a selective set and clear on the print options word.
mask | (in) Mask of options to touch | |
valu | (in) Values to set (in masked bits only) |