GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > SIIS / dev

Constituent: siis2moc     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:

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


Data Structures

struct  _SIIS_Pdu_Hdr
 PDU annotation header information. More...
unsigned int SIIS_mocHdrSizeof (void)
 Return the size of a PDU annotation header, in bytes.
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.
unsigned int SIIS_mocPutHdr (unsigned char *hdr_buf, const unsigned int hdr_buf_bytes, const SIIS_Pdu_Hdr *hdr_info)
 Create a PDU header.

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.2 2004/12/02 17:35:52 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.


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_mocHdrSizeof void   ) 
 

Return the size of a PDU annotation header, in bytes.

Returns the 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.

Returns:
PDU annotation header size, in bytes.

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 Tue Dec 4 12:23:00 2007 by  doxygen 1.4.4