swap.h
Go to the documentation of this file.
00001 /******************************************************************************
00002   Copyright (c) 2001,2002 by Turku PET Centre
00003 
00004   swap.h
00005   
00006   Versions:
00007   2002-02-21 Vesa Oikonen
00008   2002-08-23 VO
00009 
00010 ******************************************************************************/
00011 #ifndef _SWAP_H
00012 #define _SWAP_H
00013 /*****************************************************************************/
00014 extern int little_endian();
00015 extern void swap(void *orig, void *new, int size);
00016 extern void swabip(void *buf, int size);
00017 extern void swawbip(void *buf, int size);
00018 extern void swawip(void *buf, int size);
00019 /*****************************************************************************/
00020 extern void printf32bits(void *buf);
00021 /*****************************************************************************/
00022 #endif