GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / dev > qse / rhel5-64
#include <QSE/QDF_esbRepack.h>
#include <QSE/QDF_esb.h>
#include <EDS/EBF_ctb.h>
#include <PBI/PTR.h>
#include <PBI/Endianness.h>
#include <string.h>
Functions | |
static __inline unsigned int * | zero_pad_bytes (unsigned int *dst, int npad) |
Zeroes the specified number of pad bytes. | |
EBF_ctb * | QDF_esbRepack (const QDF_esbEvt *esb, int cid, EBF_ctb *ctb, unsigned int *nxt) |
Repacks the information in the Event Summary Block back into the contribution header. |
CVS $Id: QDF_esbRepack.c,v 1.3 2011/03/27 01:45:44 russell Exp $
EBF_ctb * QDF_esbRepack | ( | const QDF_esbEvt * | esb, | |
int | cid, | |||
EBF_ctb * | ctb, | |||
unsigned int * | nxt | |||
) |
Repacks the information in the Event Summary Block back into the contribution header.
esb | The Event Summary Block. This contains all the information needed to complete the contribution | |
cid | The contribution header to complete | |
ctb | The contribution to completed | |
nxt | The next location to write to |
References QDF_esbEvtCtbHdrGet(), and zero_pad_bytes().
Referenced by QDF_acdPedRepack(), QDF_acdStdRepack(), and temRepack().
static __inline unsigned int zero_pad_bytes | ( | unsigned int * | dst, | |
int | npad | |||
) | [static] |
Zeroes the specified number of pad bytes.
dst | The destination address to start zeroing at | |
npad | The number of pad bytes |
Referenced by QDF_esbRepack().