GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > SIIS / V0-0-1

Constituent: siis_moc     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

SIIS_moc.h File Reference

SIIS MOC Level-0 Data File Interface Library Header. More...

#include "SIIS/SIIS_msg.h"

Include dependency graph for SIIS_moc.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Data Structures

struct  _SIIS_Pdu_Hdr
 PDU annotation header information. More...


Defines

#define SIIS_PDU_HDR_LENGTH   12
 PDU annotation header length, in bytes.


Typedefs

typedef _SIIS_Pdu_Hdr SIIS_Pdu_Hdr

Detailed Description

SIIS MOC Level-0 Data File Interface Library Header.

  CVS $Id: SIIS_moc.h,v 1.1.1.1 2004/12/01 20:57:10 dmay Exp $
  

This is the interface to the SIIS_moc library which contains functions for creating and interpreting PDU annotation headers from MOC level-0 data files.


Define Documentation

#define SIIS_PDU_HDR_LENGTH   12
 

PDU annotation header length, in bytes.

Length of a PDU annotation header, in bytes. This is the header at the start of each ITOS Packet Data Unit (PDU) found within the MOC level-0 data file.


Typedef Documentation

SIIS_Pdu_Hdr
 

The typedef for _SIIS_Pdu_Hdr.


Function Documentation

unsigned int SIIS_mocGetHdr const unsigned char *  hdr_buf,
const unsigned int  hdr_buf_bytes,
SIIS_Pdu_Hdr hdr_info
 

Gets the information found within a PDU header.

Build a SIIS_Pdu_Hdr structure from the information found within an MOC level-0 data file PDU annotation header.

Parameters:
hdr_buf Pointer to buffer containing the annotation header.
hdr_buf_bytes Length of annotation header buffer, in bytes
hdr_info Pointer to structure to return header information.
Returns:
A SIIS MSG value.

unsigned int SIIS_mocPutHdr unsigned char *  hdr_buf,
const unsigned int  hdr_buf_bytes,
const SIIS_Pdu_Hdr hdr_info
 

Create a PDU header.

Build a MOC level-0 data file PDU annotation header from the information found within a SIIS_Pdu_Hdr structure.

Parameters:
hdr_buf Pointer to buffer to build the annotation header.
hdr_buf_bytes Length of annotation header buffer, in bytes
hdr_info Pointer to information from which the header is built.
Returns:
A SIIS MSG value.


Generated on Thu Dec 2 02:44:15 2004 by doxygen 1.3.3