GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QCFG / V1-1-2 > qcfg_parse / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

qcfg_parse.c File Reference

Program for creating a set of binary configuration files 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 creating a set of binary configuration files from a set of XML configuration files.

Author:
James Swain & Owen Saxton
$Id: qcfg_parse.c,v 1.7 2010/04/20 18:41:49 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

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

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


Generated on Tue Apr 20 13:13:56 2010 by  doxygen 1.5.3