GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LCFG / V1-2-3
Constituent: lcfg     Tag: mv2304
#include "LCFG_p.h"
#include "LCFG/LCFG_msgs.h"
#include "RIM/RIM.h"
#include "RIM/RIM_msgs.h"
#include "FBS/FBS_pubrtos.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/BSWP.h"
#include <fcntl.h>
#include <unistd.h>
Include dependency graph for LCFG_consume.c:
Data Structures | |
struct | _fileParm |
Parameter block for file operations. More... | |
Typedefs | |
typedef _fileParm | fileParm |
Parameter block for file operations. | |
Enumerations | |
enum | { FIO_NAME_SIZE = FILE_PATH_STR_SIZE_USR } |
Functions | |
static unsigned | fileOpen (fileParm *fParm, const char *name) |
Open a file for reading. | |
static unsigned | fileClose (fileParm *fParm) |
Close a file. | |
static unsigned | fileKey (fileParm *fParm) |
Return the key for a file. | |
static unsigned | fileReadData (void *parm, int iShrt, void *data, int leng, int *rLeng) |
Read record data. | |
static unsigned | fileReadRecd (void *parm, unsigned *type, int *leng) |
Read a record header. | |
unsigned | LCFG_consumeMap (RIM_map *map, unsigned fid, unsigned *key) |
Read map data. | |
unsigned | LCFG_consume (RIM *rim, unsigned lcm, unsigned *key) |
Read configuration data. |
|
Close a file.
|
|
Return the key for a file.
|
|
Open a file for reading. This routine opens a file for reading and verifies the version information.
|
|
Read record data. This routine, designed to work in conjunction with RIM_import, reads data from an open file, making sure that it will not overflow the current record.
|
|
Read a record header. This routine, designed to work in conjunction with RIM_import, reads the next record header from an open file.
|
|
Read configuration data. This routine reads a configuration master file then reads each file in the master file into a RIM structure.
|
|
Read map data. This routine reads a map data file into a map structure.
|