My Project
swap.h
Go to the documentation of this file.
1/******************************************************************************
2 Copyright (c) 2001,2002 by Turku PET Centre
3
4 swap.h
5
6 Versions:
7 2002-02-21 Vesa Oikonen
8 2002-08-23 VO
9
10******************************************************************************/
11#ifndef _SWAP_H
12#define _SWAP_H
13/*****************************************************************************/
14extern int little_endian();
15extern void swap(void *orig, void *new, int size);
16extern void swabip(void *buf, int size);
17extern void swawbip(void *buf, int size);
18extern void swawip(void *buf, int size);
19/*****************************************************************************/
20extern void printf32bits(void *buf);
21/*****************************************************************************/
22#endif
void printf32bits(void *buf)
Definition: swap.c:157
int little_endian()
Definition: swap.c:41
void swabip(void *buf, int size)
Definition: swap.c:99
void swawip(void *buf, int size)
Definition: swap.c:139
void swawbip(void *buf, int size)
Definition: swap.c:119
void swap(void *orig, void *new, int size)
Definition: swap.c:58