GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> SIIS / V0-2-0 > siis_example / sun-gcc
#include "SIIS/SIIS_msg.h"
Classes | |
struct | _SIIS_Rec_Hdr |
SIIS archive file record header information. More... | |
struct | _SIIS_Rec_File_Info |
SIIS archive file 'file information' record information. More... | |
struct | _SIIS_Rec_Raw_Telem |
SIIS archive file 'raw telemetry' record information. More... | |
Typedefs | |
typedef struct _SIIS_Rec_Hdr | SIIS_Rec_Hdr |
typedef struct _SIIS_Rec_File_Info | SIIS_Rec_File_Info |
typedef struct _SIIS_Rec_Raw_Telem | SIIS_Rec_Raw_Telem |
Enumerations | |
enum | SIIS_Rec_Type { SIIS_REC_TYPE_RAW_TELEM, SIIS_REC_TYPE_FILE_INFO, SIIS_REC_TYPE_UNKNOWN } |
Recognized SIIS archive file record types. More... | |
Functions | |
unsigned int | SIIS_recHdrSizeof (void) |
Return the size of a SIIS archive file record header, in bytes. | |
unsigned int | SIIS_recTrlSizeof (void) |
Return the size of a SIIS archive file record trailer, in bytes. | |
unsigned int | SIIS_recGetHdr (const unsigned char *hdr_buf, const unsigned int hdr_buf_bytes, SIIS_Rec_Hdr *hdr_info) |
Get the information found within a SIIS record header. | |
unsigned int | SIIS_recGetFileInfo (const unsigned char *body_buf, const unsigned int body_buf_bytes, SIIS_Rec_File_Info *file_info) |
Get the information found within a SIIS file information record. | |
unsigned int | SIIS_recGetRawTelem (const unsigned char *body_buf, const unsigned int body_buf_bytes, SIIS_Rec_Raw_Telem *raw_telem) |
Get the information found within a SIIS raw telemetry record. |
CVS $Id: SIIS_rec.h,v 1.2 2004/12/02 17:36:33 dmay Exp $
This library contains functions and definitions for processing SIIS archive file records.
The typedef for _SIIS_Rec_File_Info.
The typedef for _SIIS_Rec_Hdr.
The typedef for _SIIS_Rec_Raw_Telem.
enum SIIS_Rec_Type |
unsigned int SIIS_recGetFileInfo | ( | const unsigned char * | body_buf, | |
const unsigned int | body_buf_bytes, | |||
SIIS_Rec_File_Info * | file_info | |||
) |
Get the information found within a SIIS file information record.
Build a SIIS_Rec_File_Info structure from the information found within a SIIS archive file 'file information' record.
body_buf | Pointer to buffer containing the record body. | |
body_buf_bytes | Length of record body buffer, in bytes | |
file_info | Pointer to structure to return file information. |
unsigned int SIIS_recGetHdr | ( | const unsigned char * | hdr_buf, | |
const unsigned int | hdr_buf_bytes, | |||
SIIS_Rec_Hdr * | hdr_info | |||
) |
Get the information found within a SIIS record header.
Build a SIIS_Rec_Hdr structure from the information found within a SIIS archive file record header.
hdr_buf | Pointer to buffer containing the record header. | |
hdr_buf_bytes | Length of header buffer, in bytes | |
hdr_info | Pointer to structure to return header information. |
unsigned int SIIS_recGetRawTelem | ( | const unsigned char * | body_buf, | |
const unsigned int | body_buf_bytes, | |||
SIIS_Rec_Raw_Telem * | raw_telem | |||
) |
Get the information found within a SIIS raw telemetry record.
Build a SIIS_Rec_Raw_Telem structure from the information found within a SIIS archive file 'raw telemetry' record.
body_buf | Pointer to buffer containing the record body. | |
body_buf_bytes | Length of record body buffer, in bytes | |
raw_telem | Pointer to structure to return raw telemetry info. |
unsigned int SIIS_recHdrSizeof | ( | void | ) |
Return the size of a SIIS archive file record header, in bytes.
Returns the length of a SIIS archive file record header, in bytes.
unsigned int SIIS_recTrlSizeof | ( | void | ) |
Return the size of a SIIS archive file record trailer, in bytes.
Returns the length of a SIIS archive file record trailer, in bytes.