GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> MSG / V3-1-2 > msg_print / sun-gcc
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <CDM/CDM_pubdefs.h>
#include <MPP_DB/MPP_DB_schema.h>
#include <PBS/WCT.h>
#include <MSG/MSG_pubdefs.h>
#include <MSG/MSG_printProc.h>
Functions | |
void | MSG_print (MSG_OutputModes mode, void *prm, const MSG_Message *msg) |
Output processor callback routine to simply print messages. | |
unsigned int | MSG_printOptions (unsigned int mask, unsigned int valu) |
Selective set and clear of print processor options. | |
Variables | |
static unsigned int | MSG_printOpts |
Print output processor options. |
CVS $Id: MSG_printProc.c,v 1.8 2011/03/25 01:05:53 apw Exp $
void MSG_print | ( | MSG_OutputModes | mode, | |
void * | prm, | |||
const MSG_Message * | msg | |||
) |
Output processor callback routine to simply print messages.
mode | (in) Output processor calling mode | |
prm | (in) User parameter | |
msg | (in) Message structure |
printf
following options provided by the user.
References MSG_M_DATE, MSG_M_DUMP, MSG_M_NAME, MSG_M_NANO, MSG_M_ROUTINE, MSG_M_TASK, MSG_M_TEXT, and MSG_M_TIME.
Referenced by MSG_printAttach().
unsigned int MSG_printOptions | ( | unsigned int | mask, | |
unsigned int | valu | |||
) |
Selective set and clear of print processor options.
mask | (in) Mask of options to touch | |
valu | (in) Values to set (in masked bits only) |
x | Previous value of the options word |
Referenced by MSG_printAttach().
static unsigned int MSG_printOpts [static] |
Initial value:
MSG_M_NANO | MSG_M_TIME | MSG_M_TASK | MSG_M_ROUTINE | MSG_M_NAME | MSG_M_TEXT | 0
Variable used to maintain user selected print options.