GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QCFG / V0-0-2

Constituent: QCFG_parser     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QCFG_parser.c File Reference

Main function for the LATC XML parsing executable. More...

#include "RIM/lrd.h"
#include "args_p.h"
#include "error.h"
#include "xml.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "PBS/MBA.h"

Include dependency graph for QCFG_parser.c:


Functions

void print_usage (FILE *fp)
 Print out a usage block.
int check_args (int argc, char **argv)
 Check that all the command line arguments are known, are unique and that any required arguments are present.
int main (int argc, char **argv)

Detailed Description

Main function for the LATC XML parsing executable.

Author:
James Swain -- jswain@slac.stanford.edu

Function Documentation

int check_args int  argc,
char **  argv
 

Check that all the command line arguments are known, are unique and that any required arguments are present.

Parameters:
argc Number of command line arguments
argv Array of command line arguments
Return values:
0 Command line arguments meet requirements
-1 Unknown argument found on the list
-2 Missing input argument
-3 Missing output argument
-4 Repeated input argument
-5 Repeated output argument
-6 Repeated filter argument

int main int  argc,
char **  argv
 

Parameters:
argc Number of command-line arguments
argv List of command line arguments
Return values:
0 Success
-1 Unknown argument found on the list
-2 Missing input argument
-3 Missing output argument
-4 Repeated input argument
-5 Repeated output argument
-6 Repeated filter argument
-7 No input files specified
-8 Memory allocation error
-9 Parser failed.

void print_usage FILE *  fp  ) 
 

Print out a usage block.

Parameters:
fp Pointer to destination file


Generated on Wed May 3 23:07:11 2006 by  doxygen 1.4.4