GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > FILE / V3-8-1

Constituent: file_swap     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

FILE_swap.h File Reference

Byte swap library for LAT file data structures. More...

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


Functions

void FILE_swapHdr (const void *inHdr, void *outHdr)
 Byte swap a file header header.

Detailed Description

Byte swap library for LAT file data structures.

Author:
D.L. Wood
The LAT file native formats are big-endian. This library allows users to insert and extract fields from these structures in native format on little-endian machines. The functions allow for machine-independent code.

Function Documentation

void FILE_swapHdr const void *  inHdr,
void *  outHdr
 

Byte swap a file header header.

Byte swaps a LAT file header for little-endian machines. A straight copy for big-endian machines.

Parameters:
inHdr A pointer to the input file header.
outHdr A pointer to the output file header buffer.


Generated on Tue Oct 25 22:37:26 2005 by  doxygen 1.4.4