GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> MSG / V3-1-2 > msg_print / rhel6-32


Interface   Data Structures   File List   Data Fields   Globals  

MSG_printProc.c File Reference

A message output processor ... a simple printer. More...

#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.


Detailed Description

A message output processor ... a simple printer.

CVS $Id: MSG_printProc.c,v 1.8 2011/03/25 01:05:53 apw Exp $
Author:
A.P.Waite
MSG_printProc.c is the most basic output processor ... it simply prints the message.

Function Documentation

void MSG_print ( MSG_OutputModes  mode,
void *  prm,
const MSG_Message *  msg 
)

Output processor callback routine to simply print messages.

Parameters:
mode (in) Output processor calling mode
prm (in) User parameter
msg (in) Message structure
MSG_print prints a message using 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.

Parameters:
mask (in) Mask of options to touch
valu (in) Values to set (in masked bits only)
Return values:
x Previous value of the options word
MSG_printOptions does a selective set and clear on the print options word.

Referenced by MSG_printAttach().


Variable Documentation

static unsigned int MSG_printOpts [static]

Initial value:

Print output processor options.

Variable used to maintain user selected print options.


Generated on Tue Nov 29 16:54:58 2011 by  doxygen 1.5.8