GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MSG / V3-1-1
Constituent: test_msg_mt     Tag: linux-gcc
#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_testBuffer.c:
Defines | |
#define | MSG_L_BUFTEST ( 40 ) |
Transit buffer length. Must be multiple of eight. | |
#define | MSG_L_MSGTEST ( 16 ) |
Length of string used in test. | |
Functions | |
static void * | testBuffer_task (void *prm) |
Main routine for buffering tests. | |
static unsigned int | testBufferMsg (void) |
Test transit buffer overflows. | |
static void | testBufferMsg_cb (MSG_OutputModes mode, void *prm, const MSG_Message *msg) |
Output processor to check buffer overflows. | |
unsigned int | MSG_testBuffer () |
Driver for the MSG buffering 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". | |
static const char * | s_taskname = "MaxLen_TaskName" |
A maximally long task name. | |
static const char | digit [10] = { '-', '1', '2', '3', '4', '5', '6', '7', '8', '9' } |
Slightly off list of digits. |
CVS $Id: MSG_testBuffer.c,v 1.8 2005/11/17 19:38:28 apw Exp $
|
Main routine for buffering tests.
|
|
Output processor to check buffer overflows.
|