awips2/nativeLib/rary.ohd.whfs/inc/general/ReadAndSwap.h
root a02aeb236c Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 06a8b51d6d [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]
Former-commit-id: 9f19e3f712
2012-01-06 08:55:05 -06:00

25 lines
910 B
C

/*******************************************************************************
* FILENAME: ReadAndSwap.h
* DESCRIPTION: Contains the prototype and error code information
* for the ReadAndSwap routine.
*
* ORIGINAL AUTHOR: Bryon Lawrence
* CREATION DATE: November 16, 2001
* ORGANIZATION: HSEB / OHD
* MACHINE: HP-UX / Redhat Linux
* MODIFICATION HISTORY:
* DATE PROGRAMMER DESCRIPTION/REASON
* 11/16/01 Bryon Lawrence Original Coding
********************************************************************************
*/
#ifndef READ_AND_SWAP_H
#define READ_AND_SWAP_H
#define READ_AND_SWAP_BAD_VALUE -1
#define READ_AND_SWAP_IO_ERROR -2
#define READ_AND_SWAP_OS_ERROR -3
size_t ReadAndSwap ( void * ptr , size_t size , size_t nitems ,
FILE * stream ) ;
#endif /* #ifndef READ_AND_SWAP_H */