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

Constituent: qcfg     Tag: sun-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.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, const char *const *filelist, int nFile)
 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.5 2008/12/16 21:13:25 saxton Exp

Function Documentation

unsigned QCFG_consume RIM *  rim,
const char *const *  filelist,
int  nFile
 

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
nFile 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 Dec 17 01:33:54 2008 by  doxygen 1.4.4