summaryrefslogtreecommitdiff
path: root/src/net/win2mac.h
blob: 851a328a65ae4cd706ba829c346f1c29a58b39ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>

#define UInt16 unsigned short int
#define INT16 short int
#define UInt32 unsigned long int
#define INT32 long int
#define SWAP( a,  b ) { char c; c=a; a=b; b=c; }

#ifndef _MAC_H
#define _MAC_H
UInt32 DR_SwapFourBytes(UInt32 dw);
UInt16 DR_SwapTwoBytes(UInt16 w);
char* SwapChar(char charlist[]);
#endif