GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
QCFG / V1-0-3
Constituent: qcfg_print     Tag: sun-gcc
Interface Data Structures File List Data Fields Globals
qcfg_print.c File Reference
Program for printing the contents of a set of configuration datagrams. More...
#include "QCFG_p.h"
#include "RIM/RIM_ground.h"
#include "MSG/MSG_pubdefs.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libgen.h>
Include dependency graph for qcfg_print.c:
|
Data Structures |
struct | _qcfg_parm |
Typedefs |
typedef _qcfg_parm | qcfg_parm |
Functions |
static int | printRim (RIM *rim, void *vParm) |
| Print the contents of a RIM.
|
static int | getOptns (int argc, char **argv, QCFG_cmdOptns *optns) |
| Get options and parameters.
|
static void | usage (char **argv, int error) |
| Print a usage block.
|
int | main (int argc, char **argv) |
| Main program.
|
Detailed Description
Program for printing the contents of a set of configuration datagrams.
- Author:
- James Swain & Owen Saxton
- Id
- qcfg_print.c,v 1.4 2007/12/15 00:14:05 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 |
|
int printRim |
( |
RIM * |
rim, |
|
|
void * |
vParm |
|
) |
[static] |
|
|
Print the contents of a RIM.
- Parameters:
-
| rim | The address of the RIM |
| vParm | The address of the parameter block |
- Return values:
-
| 0 | Always continue processing |
|
void usage |
( |
char ** |
argv, |
|
|
int |
error |
|
) |
[static] |
|
|
Print 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:28:28 2007 by
1.4.4