GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LATC / V9-1-3 > QLATC_report / rhel4-32


Interface   Data Structures   File List   Data Fields   Globals  

QLATC_consume.h File Reference

Host side functions to read in binary configuration files. More...

#include <imm.h>

Functions

unsigned QLATC_consume (LATC_imm *imm, char **filelist, unsigned nfiles)
unsigned QLATC_consumeMap (LATC_map *map, const char *filename)
 Read map data into the map structure.


Detailed Description

Host side functions to read in binary configuration files.

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

Function Documentation

unsigned QLATC_consumeMap ( LATC_map *  map,
const char *  filename 
)

Read map data into the map structure.

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

References file_close(), file_open(), file_read(), and sizeofMap().


Generated on Sat Apr 9 19:54:01 2011 by  doxygen 1.5.8