GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
QCFG / V1-0-1
Constituent: qcfg_report     Tag: sun-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:
|
Data Structures |
struct | _qcfg_optn |
Typedefs |
typedef _qcfg_optn | qcfg_optn |
Functions |
static int | getOptns (int argc, char **argv, qcfg_optn *optns) |
| Get options and parameters.
|
static void | usage (char *cmnd) |
| 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.3 2007/11/19 20:55:43 saxton Exp
Function Documentation
int getOptns |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
qcfg_optn * |
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 * |
cmnd |
) |
[static] |
|
|
Print out a usage block.
- Parameters:
-
| cmnd | The address of the command name |
|
Generated on Tue Nov 20 01:39:54 2007 by
1.4.4