GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
QCFG / V1-0-1
Constituent: qcfg_cmp_lsd     Tag: sun-gcc
Interface Data Structures File List Data Fields Globals
qcfg_cmp_lsd.c File Reference
Program for comparing two sets of configuration datagrams. More...
#include "QCFG_p.h"
#include "RIM/RIM_ground.h"
#include "XLX/XLX.h"
#include "MSG/MSG_pubdefs.h"
#include <string.h>
#include <stdio.h>
#include <libgen.h>
Include dependency graph for qcfg_cmp_lsd.c:
|
Data Structures |
struct | _qcfg_optn |
struct | _qcfg_parm |
Typedefs |
typedef _qcfg_optn | qcfg_optn |
typedef _qcfg_parm | qcfg_parm |
Functions |
static int | checkDgm (RIM *rim, void *vParm) |
| Check processing of the datagram file.
|
static int | getOptns (int argc, char **argv, qcfg_optn *optns) |
| Get options and parameters.
|
static void | usage (const char *cmnd) |
| Print a brief usage message.
|
int | main (int argc, char **argv) |
| Main program.
|
Detailed Description
Program for comparing two sets of configuration datagrams.
- Author:
- James Swain & Owen Saxton
- Id
- qcfg_cmp_lsd.c,v 1.3 2007/11/19 20:53:30 saxton Exp
Function Documentation
int checkDgm |
( |
RIM * |
rim, |
|
|
void * |
vParm |
|
) |
[static] |
|
|
Check processing of the datagram file.
- Parameters:
-
| rim | The address of the RIM |
| vParm | The address of the parameter block |
- Return values:
-
| 0 | Continue processing |
| 1 | Stop processing |
|
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 this application was invoked with |
| argv | Array of strings, each one holding one command line argument |
- Returns:
- 0 Success
-1 An error occurred
|
void usage |
( |
const char * |
cmnd |
) |
[static] |
|
|
Print a brief usage message.
- Parameters:
-
|
Generated on Tue Nov 20 01:38:11 2007 by
1.4.4