GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MSG / V3-1-1

Constituent: test_msg_mt     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

MSG_testOptions.c File Reference

Various tests of option handling. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "PBS/MBA.h"
#include "PBS/TASK.h"
#include "MSG/MSG_pubdefs.h"
#include "MSG/MSG_msgs.h"
#include "MSG/MTS_msgs.h"
#include "MSG_prvdefs.h"
#include "MSG_tstdefs.h"

Include dependency graph for MSG_testOptions.c:


Data Structures

struct  _MSG_OptCount
 Structure to hold a bunch of counters used in options testing. More...

Defines

#define MSG_N_TRACE   ( 8 )
 Number of trace levels to try.

Typedefs

typedef _MSG_OptCount MSG_OptCount
 Typedef for struct _MSG_OptCount.

Functions

static void testOptions_cb (MSG_OutputModes mode, void *prm, const MSG_Message *msg)
 Output processor to capture statistics on options.
static void testOptions (void)
 Run the accumulation phase of the options test.
unsigned int MSG_testOptions ()
 Driver for the MSG options test suite.

Variables

static const char * s_state = "control state"
 The string "control state".
static const char * s_status = "status value"
 The string "status value".

Detailed Description

Various tests of option handling.

CVS $Id: MSG_testOptions.c,v 1.8 2005/11/17 19:38:28 apw Exp $
Author:
A.P.Waite

Function Documentation

static void testOptions void   )  [static]
 

Run the accumulation phase of the options test.

testOptions() runs the accumulation phase of the options test.

static void testOptions_cb MSG_OutputModes  mode,
void *  prm,
const MSG_Message *  msg
[static]
 

Output processor to capture statistics on options.

Parameters:
mode (in) Output processor call (init, normal or exit)
prm (in) User parameter (for this output processor)
msg (in) Message structure
testOptions_cb() captures statistics on calls from different tasks running with different options.


Generated on Sun Jun 14 02:36:50 2009 by  doxygen 1.4.4