GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QLSW / V1-0-0

Constituent: qlsw_extract     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QLSW_extract.c File Reference

The implementation of the qlsw_extract command. More...

#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "CLI/CLI_pubdefs.h"
#include "LSF/LSF_ids.h"
#include "LSW/LSW_pubdefs.h"
#include "MSG/MSG_printProc.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/BSWP.h"
#include "PBS/TASK.h"
#include "QLSW/QLSW_msgs.h"
#include "QSE/CCSDS_apidDsc.h"
#include "QSE/CCSDS_istream.h"
#include "QLSW/QLSW_pubdefs.h"
#include "QLSW_macdefs.h"

Include dependency graph for QLSW_extract.c:


Data Structures

struct  _QLSW_ApidBuffer
 Define a structure to provide buffering and a buffer descriptor. More...
struct  _QLSW_Command
 Structure to control the printing process. More...

Typedefs

typedef _QLSW_ApidBuffer QLSW_ApidBuffer
 Typedef for struct _QLSW_ApidBuffer.
typedef _QLSW_Command QLSW_Command
 Typedef for struct _QLSW_Command.

Functions

unsigned int command (CLI_Control *ctl, unsigned int lsf)
 Extract a trace buffer.
unsigned int execute (QLSW_Command *cmd)
 Extract a snapshot file from input packets as directed.
CLI_Syntax * syntax (void)
 Define the qlsw_extract syntax.
int main (int argc, char *argv[])
 Main routine.
unsigned int QLSW_help (CLI_Control *ctl, void *user)
 Handle the verb help.
unsigned int QLSW_trace (CLI_Control *ctl, void *user)
 Extract a trace buffer.

Variables

QLSW_ApidBuffer apidBuffer
 Instantiate a structure to provide buffering and a buffer descriptor.
static const char * s_cpu = "cpu"
 The string "cpu".
static const char * s_epu0 = "epu0"
 The string "epu0".
static const char * s_epu1 = "epu1"
 The string "epu1".
static const char * s_epu2 = "epu2"
 The string "epu2".
static const char * s_help = "help"
 The string "help".
static const char * s_QLSW = "QLSW"
 The string "QLSW".
static const char * s_siu = "siu"
 The string "siu".
static const char * s_trace = "trace"
 The string "trace".
static const char * d_0 = "$0"
 The string "$0".
static const char * d_1 = "$1"
 The string "$1".
static const char * f_help = "QLSW_help"
 The function name "QLSW_help".
static const char * f_trace = "QLSW_trace"
 The function name "QLSW_trace".

Detailed Description

The implementation of the qlsw_extract command.

CVS $Id: QLSW_extract.c,v 1.2 2007/03/22 02:03:38 apw Exp $
Author:
A.P.Waite

Function Documentation

unsigned int command CLI_Control *  ctl,
unsigned int  lsf
 

Extract a trace buffer.

Parameters:
ctl (in) Anonymous control pointer
lsf (in) Target of command
Returns:
Status code

unsigned int execute QLSW_Command cmd  ) 
 

Extract a snapshot file from input packets as directed.

Parameters:
cmd Command directives

unsigned int QLSW_help CLI_Control *  ctl,
void *  user
 

Handle the verb help.

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

unsigned int QLSW_trace CLI_Control *  ctl,
void *  user
 

Extract a trace buffer.

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

CLI_Syntax * syntax void   ) 
 

Define the qlsw_extract syntax.

Returns:
Primary syntax pointer


Generated on Thu Mar 22 04:00:25 2007 by  doxygen 1.4.4