GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QCDM / V0-0-1 > qcdm_print / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

QCDM_print.c File Reference

The implementation of the qcdm_print command. More...

#include <ctype.h>
#include <stdlib.h>
#include <malloc.h>
#include <stdio.h>
#include <string.h>
#include <CDM/CDM_pubdefs.h>
#include <CLI/CLI_pubdefs.h>
#include <MSG/MSG_printProc.h>
#include <MSG/MSG_pubdefs.h>
#include <PBS/TASK.h>
#include <QCDM/QCDM_msgs.h>
#include <CDM_prvdefs.h>
#include <QCDM_macdefs.h>
#include <PBI/PTR.h>

Functions

CLI_Syntax * syntax (void)
 Define the qcdm_print syntax.
int main (int argc, char *argv[])
 Main routine.
unsigned int QCDM_data (CLI_Control *ctl, void *user)
 Dump a CDM data block (very crude).
unsigned int QCDM_help (CLI_Control *ctl, void *user)
 Handle the verb help.
unsigned int QCDM_meta (CLI_Control *ctl, void *user)
 Dump a CDM's meta-information.

Variables

static const char * s_data = "data"
 The string "help".
static const char * s_help = "help"
 The string "help".
static const char * s_length = "length"
 The string "length".
static const char * s_meta = "meta"
 The string "meta".
static const char * s_offset = "offset"
 The string "offset".
static const char * s_QCDM = "QCDM"
 The string "QCDM".
static const char * d_0 = "$0"
 The string "$0".
static const char * f_data = "QCDM_data"
static const char * f_help = "QCDM_help"
 The function name "QCDM_help".
static const char * f_meta = "QCDM_meta"
 The function name "QCDM_meta".


Detailed Description

The implementation of the qcdm_print command.

CVS $Id: QCDM_print.c,v 1.2 2011/03/30 01:55:21 apw Exp $
Author:
A.P.Waite

Function Documentation

unsigned int QCDM_data ( CLI_Control *  ctl,
void *  user 
)

Dump a CDM data block (very crude).

Parameters:
ctl (in) Anonymous control pointer
user (in) User parameter
Returns:
Status code

Referenced by syntax().

unsigned int QCDM_help ( CLI_Control *  ctl,
void *  user 
)

Handle the verb help.

Parameters:
ctl (in) Anonymous control pointer
user (in) User parameter
Returns:
Status code

Referenced by syntax().

unsigned int QCDM_meta ( CLI_Control *  ctl,
void *  user 
)

Dump a CDM's meta-information.

Parameters:
ctl (in) Anonymous control pointer
user (in) User parameter
Returns:
Status code

Referenced by syntax().

CLI_Syntax * syntax ( void   ) 

Define the qcdm_print syntax.

Returns:
Primary syntax pointer

References QCDM_data(), QCDM_help(), and QCDM_meta().

Referenced by main().


Generated on Tue Nov 29 20:49:53 2011 by  doxygen 1.5.8