GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QCFG / V0-0-1

Constituent: qcfg     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

consume.h File Reference

Functions to read in binary configuration files and modify the IMM accordingly. More...

#include "RIM/rim.h"

Include dependency graph for consume.h:

This graph shows which files directly or indirectly include this file:


Functions

unsigned QCFG_consume (RIM *rim, char **filelist, int nfile)
 Reads a configuration, as described by the configuration master file cfgName, into the latc structure.
unsigned QCFG_consumeMap (RIM_map *map, const char *filename)
 Read map data into the map structure.

Detailed Description

Functions to read in binary configuration files and modify the IMM accordingly.

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

Function Documentation

unsigned QCFG_consume RIM *  rim,
char **  filelist,
int  nfiles
 

Reads a configuration, as described by the configuration master file cfgName, into the latc structure.

Parameters:
rim Pointer to the RIM to repopulate with the configuration information
filelist List of binary configuration files
nfiles Number of binary configuration files

unsigned QCFG_consumeMap RIM_map *  map,
const char *  filename
 

Read map data into the map structure.

Parameters:
map Map structure to populate from file
filename Name of the binary map file to consume
Return values:
QCFG_SUCCESS if all goes well
RIM_FILE_OPEN if the fid, or any of the names the configuration master file contains, does not match a valid file.
RIM_FILE_READ if an error occures whilst the file is being read


Generated on Fri Apr 14 00:29:07 2006 by  doxygen 1.4.4