GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RIM / V1-0-0
Constituent: trim     Tag: mv2304
#include "RIM/RIM.h"
#include "ctors_p.h"
#include "RIM_AG_init_p.h"
#include "RIM_AG_types_p.h"
#include "RIM_descriptions.ic"
#include "RIM_number.ic"
Include dependency graph for t_record.c:
Defines | |
#define | SET_FIRST_ERROR { if(!rec_error) {rec_error = __LINE__; } } |
Macro that records the line number of the first error encountered. | |
Functions | |
void | startDgm (void *ctl) |
Function checking arguments used to start a new datagram. | |
unsigned | startCtb (void *ctl, size_t size, unsigned type) |
Function checking arguments used to start a new contribution. | |
void | addData (void *ctl, void *data, size_t size) |
Function checking arguments used to add the next block of data. | |
void | endCtb (void *ctl) |
Function checking arguments used to end a contribution. | |
unsigned | endDgm (void *ctl) |
Function checking arguments used to end a datagram. | |
unsigned | nextIndex (void) |
Get the next expected index. | |
int | t_record (void *param) |
Test of the RIM_record function. | |
Variables | |
static unsigned | rec_error = 0 |
Store the line number of the first error. | |
static unsigned | e_type = 0 |
The current expected type. | |
static unsigned | isMap = 1 |
Flag indicating that the current data block is a component map. | |
static RIM * | rim = NULL |
Pointer to the RIM structure being recorded, held as a static so that the verification functions can access it. | |
static unsigned | e_index = 0 |
Current expected index. | |
static void * | pkt = (void*)(0xdeafabba) |
Pointer passed around in place of the control pointer. |
|
Function checking arguments used to add the next block of data.
|
|
Function checking arguments used to end a contribution.
|
|
Function checking arguments used to end a datagram.
|
|
Get the next expected index.
|
|
Function checking arguments used to start a new contribution.
|
|
Function checking arguments used to start a new datagram.
|
|
Test of the RIM_record function.
|