GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QCFG / V1-1-1 > qcfg_cmp_lsd / sun-gcc
#include "QCFG/QCFG.h"
#include "QCFG/QCFG_msgs.h"
#include "RIM/RIM_ground.h"
#include "MSG/MSG_pubdefs.h"
#include <string.h>
#include <stdio.h>
#include <libgen.h>
Classes | |
struct | _qcfg_parm |
Typedefs | |
typedef struct _qcfg_parm | qcfg_parm |
Functions | |
static int | checkDgm (RIM *rim, unsigned int secs, void *vParm) |
Check processing of the datagram file. | |
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. |
int checkDgm | ( | RIM * | rim, | |
unsigned int | secs, | |||
void * | vParm | |||
) | [static] |
Check processing of the datagram file.
rim | The address of the RIM | |
secs | The timestamp of the datagram, in spacecraft units. | |
vParm | The address of the parameter block |
0 | Continue processing | |
1 | Stop processing |
int getOptns | ( | int | argc, | |
char ** | argv, | |||
QCFG_cmdOptns * | optns | |||
) | [static] |
Get options and parameters.
argc | Number of command-line arguments | |
argv | List of command line arguments | |
optns | Address of options block to be filled |
0 | Success | |
1 | Help requested | |
-1 | An error occurred |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Main program.
argc | Number of command line arguments this application was invoked with | |
argv | Array of strings, each one holding one command line argument |
-1 An error occurred
void usage | ( | char ** | argv, | |
int | error | |||
) | [static] |
Print out a usage block.
argv | The address of the command argument list | |
error | Error indicator: error if -1; okay otherwise |