GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QCFG / V1-1-3 > qcfg_map / rhel5-64


Interface   Data Structures   File List   Data Fields   Globals  

qcfg_map.c File Reference

Program for generating a binary map file from a set of XML configuration files. More...

#include <QCFG/QCFG.h>
#include <QCFG/QCFG_msgs.h>
#include <MSG/MSG_pubdefs.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <libgen.h>

Functions

static int getOptns (int argc, char **argv, QCFG_cmdOptns *optns)
 Get options and parameters.
static void usage (char **argv, int error)
 Print out a usage block.
int main (int argc, char **argv)
 Main program.


Detailed Description

Program for generating a binary map file from a set of XML configuration files.

\author James Swain & Owen Saxton

Id
qcfg_map.c,v 1.7 2011/03/29 21:47:53 saxton Exp

Function Documentation

int getOptns ( int  argc,
char **  argv,
QCFG_cmdOptns optns 
) [static]

Get options and parameters.

Parameters:
argc Number of command-line arguments
argv List of command line arguments
optns Address of options block to be filled
Return values:
0 Success
1 Help requested
-1 An error occurred

References _QCFG_cmdOptns::nFile, _QCFG_cmdOptns::outFile, usage(), and _QCFG_cmdOptns::verbose.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Main program.

Parameters:
argc Number of command-line arguments
argv List of command line arguments
Return values:
0 Success
-1 An error occurred

References _QCFG_cmdOptns::fileList, getOptns(), _QCFG_cmdOptns::nFile, _QCFG_cmdOptns::outFile, and _QCFG_cmdOptns::verbose.

void usage ( char **  argv,
int  error 
) [static]

Print out a usage block.

Parameters:
argv The address of the command argument list
error Error indicator: error if -1; okay otherwise

Referenced by getOptns().


Generated on Tue Nov 29 19:37:33 2011 by  doxygen 1.5.8