Wanderer/Info: fix compilation
[AROS.git] / tools / flexcat / src / swapfuncs.h
blobbb61b3a57a6a3b032426fc965026b144d14c4756
1 /*
2 * $Id$
4 * Copyright (C) 1993-1999 by Jochen Wiedmann and Marcin Orlowski
5 * Copyright (C) 2002-2010 by the FlexCat Open Source Team
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or (at
10 * your option) any later version.
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 #ifndef FLEXCAT_SWAPFUNCS_H
24 #define FLEXCAT_SWAPFUNCS_H
26 /* Functions */
27 extern uint32 ( *SwapLong ) ( uint32 r );
28 extern unsigned short ( *SwapWord ) ( unsigned short r );
29 unsigned short SwapWord21 ( unsigned short r );
30 unsigned short SwapWord12 ( unsigned short r );
31 uint32 SwapLong4321 ( uint32 r );
32 uint32 SwapLong1234 ( uint32 r );
33 int SwapChoose ( void );
35 #endif /* FLEXCAT_SWAPFUNCS_H */