GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QCFG / V1-0-5

Constituent: qcfg     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QCFG_consume.c File Reference

File read and write functions. More...

#include "QCFG_p.h"
#include "QCFG/QCFG_msgs.h"
#include "RIM/RIM.h"
#include "MSG/MSG_pubdefs.h"

Include dependency graph for QCFG_consume.c:


Functions

unsigned QCFG_consumeMap (RIM_map *map, const char *filename)
 Read map data into the map structure.
unsigned QCFG_consume (RIM *rim, char **filelist, int nfiles)
 Read a configuration into a RIM structure.

Detailed Description

File read and write functions.

Author:
James Swain & Owen Saxton
Id
QCFG_consume.c,v 1.2 2007/11/12 20:11:13 saxton Exp

Function Documentation

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

Read a configuration into a RIM structure.

The supplied list of binary configuration files is read into the supplied RIM 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
Return values:
QCFG_SUCCESS Success
QCFG_BADFOPEN The file could not be opened.
QCFG_BADVERSN The file contained a bad version number
QCFG_BADREAD An error occured while reading the file

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 Success
QCFG_BADFOPEN The file could not be opened.
QCFG_BADREAD An error occured while reading the file


Generated on Wed Oct 29 01:21:59 2008 by  doxygen 1.4.4