00001 00002 /* 00003 * THIS FILE IS UNDER RCS - DO NOT MODIFY UNLESS YOU HAVE 00004 * CHECKED IT OUT USING THE COMMAND CHECKOUT. 00005 * 00006 * $Id: swap_8h-source.html 2161 2006-05-19 16:55:03Z paulf $ 00007 * 00008 * Revision history: 00009 * $Log$ 00009 * Revision 1.1 2006/05/19 16:55:02 paulf 00009 * first inclusion 00009 * 00010 * Revision 1.2 2000/03/09 21:59:17 davidk 00011 * added a prototype for SwapFloat(), it had not been inluded in the 00012 * list of swap function prototypes. 00013 * 00014 * Revision 1.1 2000/02/14 20:05:54 lucky 00015 * Initial revision 00016 * 00017 * 00018 */ 00019 00020 #ifndef SWAP_H 00021 #define SWAP_H 00022 00023 #include <trace_buf.h> 00024 /* include file for swap.c: handy routines for swapping earthwormy things */ 00025 00026 void SwapShort( short * ); /* swap.c sys-independent */ 00027 void SwapInt( int * ); /* swap.c sys-independent */ 00028 void SwapLong ( long * ); /* swap.c sys-independent */ 00029 void SwapDouble( double * ); /* swap.c sys-independent */ 00030 void SwapFloat( float * ); /* swap.c sys-independent */ 00031 00032 /* fixes wave message into local byte order, based on globals _SPARC and _INTEL */ 00033 int WaveMsgMakeLocal( TRACE_HEADER* ); 00034 00035 #endif