GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> TRD / V0-0-1 > test_trd / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

TRD_testDatabase.c File Reference

Runs a collection of tests of TRD database read/write. More...

#include <stdio.h>
#include <string.h>
#include <MDB/MDB_pubdefs.h>
#include <PBI/PTR.h>
#include <TRD/TRD_msgs.h>
#include <TRD/TRD_pubdefs.h>
#include <TRD_prvdefs.h>
#include <TRD_tstdefs.h>
#include <TRD_utidefs.h>

Defines

#define MEMMAP_BHDR_BASE_OFFSET   (0x00000000)
#define MEMMAP_BHDR_SIZE   (256)
#define MEMMAP_BHDR_RESET_PTR_OFFSET   (0x00000024)
#define MEMMAP_BHDR_RESET_SIZE_OFFSET   (0x00000028)
#define TFFS_PHYSICAL_READ   (0)
#define TFFS_PHYSICAL_WRITE   (0)
#define OK   (0)

Functions

unsigned int TRD_testDatabase ()
 Test TRD database reading and writing.
void TRD_testAllReset (unsigned int idx, unsigned short fmt, unsigned short len, const void *dat)
 General purpose callback routine.

Variables

static int TRD_cb_test
static int TRD_cb_count
static int TRD_cb_order [TRD_L_ROWS]
static const char * s_status = "status"


Detailed Description

Runs a collection of tests of TRD database read/write.

CVS $Id: TRD_testDatabase.c,v 1.2 2011/03/28 21:41:07 apw Exp $
Author:
A.P.Waite

Function Documentation

void TRD_testAllReset ( unsigned int  idx,
unsigned short  fmt,
unsigned short  len,
const void *  dat 
)


Generated on Tue Nov 29 20:12:24 2011 by  doxygen 1.5.8