GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QLRA / dev > qlra_print / rhel4-32
#include <QLRA/QLRA.h>
#include <QLRA/QLRA_msgs.h>
#include <MSG/MSG_pubdefs.h>
#include <stdlib.h>
#include <stdio.h>
#include <libgen.h>
Functions | |
static void | printMsg (MSG_OutputModes mode, void *parm, const MSG_Message *msg) |
Print an error message. | |
static void | printUsage (void) |
Print a usage description. | |
int | main (int argc, char **argv) |
Main program. | |
Variables | |
static char * | cmnd |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Main program.
This is the main program to format and display the contents of a file of LRA science or diagnostic packets returned from the LAT.
References printMsg(), printUsage(), and QLRA_DOPT_PLAIN.
void printMsg | ( | MSG_OutputModes | mode, | |
void * | parm, | |||
const MSG_Message * | msg | |||
) | [static] |
Print an error message.
This routine is an output processor for the message system. It prints the message in a simple format.
mode | Calling mode (initial, normal, exit) | |
parm | User parameter (not used) | |
msg | The message to be output |
Referenced by main().
void printUsage | ( | void | ) | [static] |
Print a usage description.
This routine prints brief instructions for running the program.
Referenced by main().