GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RIM / V0-0-2

Constituent: rim     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

retrieve.c File Reference

Function to retrieve and IMM from LSF datagram contributions. More...

#include "RIM/record.h"
#include "RIM/error.h"
#include "AG_initRIM_p.h"
#include "descriptions.ic"
#include "number.ic"
#include <string.h>

Include dependency graph for retrieve.c:


Functions

unsigned RIM_retrieve (RIM *rim, char *dat, size_t len, unsigned id, int verb)
 Recover a portion of the RIM from a data buffer (actually an LSF contribution).

Detailed Description

Function to retrieve and IMM from LSF datagram contributions.

Author:
James Swain -- jswain@slac.stanford.edu

Function Documentation

unsigned RIM_retrieve RIM rim,
char *  dat,
size_t  len,
unsigned  id,
int  verb
 

Recover a portion of the RIM from a data buffer (actually an LSF contribution).

Parameters:
rim Pointer to the RIM to populate
dat Pointer to a block of data to use
len Length of the data
id Contribution identfier
verb 1 - print information messages, 0 - don't
Return values:
RIM_TYPE_UK If the type ID in the contribution indicates a component type that does not have configuration data
RIM_MAP_NONE If the type ID in the contribution indicates a component map for a single component
RIM_BUF_SHORT If the contribution is too short to contain the specified data
RIM_SUCCESSS If the contribution is successfully handled


Generated on Thu Apr 13 23:40:24 2006 by  doxygen 1.4.4