GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSD / dev > qsdprint / rhel5-32
#include <QSD/QSD_ctx.h>
#include <QSD/QSD_ctxPrint.h>
#include <LSE/LSE_modeNames.h>
#include <LSE/LSE_cpuNames.h>
#include <LSE/LSE_originNames.h>
#include <LSE/LSE_reasonNames.h>
#include <stdio.h>
Defines | |
#define | Cntof(_array) (sizeof(_array)/sizeof(*(_array))) |
Returns the count of elements in _array. | |
Functions | |
void | QSD_ctxOpenClosePrint (const QSD_ctxOpen *open, const QSD_ctxClose *close) |
Produces a dump of the standard open and close context information. | |
void | QSD_ctxDidPrint (const QSD_ctxDid *did) |
Prints the Datagram Identifier. | |
void | QSD_ctxPrint (const QSD_ctx *ctx, const char *title) |
Produces a dump of the standard context information. |
CVS $Id: QSD_ctxPrint.c,v 1.2 2011/03/26 21:06:58 russell Exp $
#define Cntof | ( | _array | ) | (sizeof(_array)/sizeof(*(_array))) |
Returns the count of elements in _array.
_array | The array to count |
Referenced by QSD_ctxDidPrint(), and QSD_ctxOpenClosePrint().
void QSD_ctxDidPrint | ( | const QSD_ctxDid * | did | ) |
Prints the Datagram Identifier.
did | The datagram identifier to print |
References _QSD_ctxDid::chg, Cntof, _QSD_ctxDid::dgm, _QSD_ctxDid::run, and _QSD_ctxDid::tim.
Referenced by QSD_ctxPrint().
void QSD_ctxOpenClosePrint | ( | const QSD_ctxOpen * | open, | |
const QSD_ctxClose * | close | |||
) |
Produces a dump of the standard open and close context information.
const char *title)
open | The datagram open information to print | |
close | The datagram close information to print |
References Cntof, _QSD_ctxClose::reason, and _QSD_ctxOpen::reason.
Referenced by QSD_ctxPrint().
void QSD_ctxPrint | ( | const QSD_ctx * | ctx, | |
const char * | title | |||
) |
Produces a dump of the standard context information.
ctx | The datagram context to print. | |
title | The title string, may by NULL |
References _QSD_ctx::close, _QSD_ctx::did, _QSD_ctx::open, QSD_ctxDidPrint(), and QSD_ctxOpenClosePrint().