GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCI / V6-0-1 > lci / mv2304


Interface   Data Structures   File List   Data Fields   Globals  

lci_host_p.h File Reference

Definitions for the LCI host functions. More...

#include "lci_p.h"

Typedefs

typedef struct
_LCI_compilation 
LCI_compilation
 Declaration of the opaque compilation structure.

Functions

unsigned LCI_compile (const char *mode, const char *infile, const char *outfile, unsigned vol)
unsigned LCI_create (LCI_configuration *cnf, const char *filename, int mode)
 Open the file and associate it with this configuration structure.
unsigned LCI_finish (LCI_configuration *cnf)
 Close the configuration file.
unsigned LCI_write (LCI_configuration *cnf)
 Write the configuration structure to its file.
unsigned LCI_writeHdr (LCI_configuration *cnf)
 Write the configuration header to its file.


Detailed Description

Definitions for the LCI host functions.

Author:
James Swain & Owen Saxton
$Id: lci_host_p.h,v 1.1 2010/05/03 20:10:17 saxton Exp $

Function Documentation

unsigned LCI_create ( LCI_configuration cnf,
const char *  filename,
int  mode 
)

Open the file and associate it with this configuration structure.

Parameters:
cnf Pointer to an initialised configuration structure
filename Name of the file to create
mode Calibration mode
Return values:
LCI_SUCCESS if the file opens successfully
LCI_FOPEN if the file failed to open successfully
LCI_TYPE if the specified type is not one of ACD, CAL or TKR
LCI_FWRITE if an error occurs writing the file verion information

unsigned LCI_finish ( LCI_configuration cnf  ) 

Close the configuration file.

Parameters:
cnf Pointer to an opened configuration
Return values:
LCI_SUCCESS If the file closes successfully
LCI_FCLOSE If there is an error closing the file

unsigned LCI_write ( LCI_configuration cnf  ) 

Write the configuration structure to its file.

Parameters:
cnf Pointer to an opened configuration
Return values:
LCI_SUCCESS if a configuration was written successfully
LCI_FWRITE if there was an error during the write
LCI_TYPE if the configuration type is bad (not reported)

unsigned LCI_writeHdr ( LCI_configuration cnf  ) 

Write the configuration header to its file.

Parameters:
cnf Pointer to an opened configuration
Return values:
LCI_SUCCESS if a configuration was written successfully
LCI_FWRITE if there was an error during the write


Generated on Tue May 25 13:35:17 2010 by  doxygen 1.5.3