GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QCFG / V1-0-3

Constituent: qcfg_report     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

qcfg_report.c File Reference

Program for producing a formatted report of the contents of a binary configuration file. More...

#include "QCFG_p.h"
#include "RIM/RIM_ground.h"
#include "MSG/MSG_pubdefs.h"
#include <stdio.h>
#include <stdlib.h>
#include <libgen.h>

Include dependency graph for qcfg_report.c:


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 producing a formatted report of the contents of a binary configuration file.

Author:
James Swain & Owen Saxton
Id
qcfg_report.c,v 1.4 2007/12/15 00:14:14 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 to the executable
argv Array of NULL terminated strings that make up the 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 Sat Dec 15 04:25:36 2007 by  doxygen 1.4.4