Home
Install
Use
Develop
Support
News
Credits
hosted by
|
9 #ifndef __CONVERT_ENDIAN_H
10 #define __CONVERT_ENDIAN_H
12 #include "machine_endian.h"
21 void timerChangeEndian ( struct timer * hdr);
22 void bandChangeEndian ( struct band *b);
23 void miniChangeEndian ( struct mini * m);
28 #if MACHINE_LITTLE_ENDIAN
29 #define timer_toBigEndian(p) timerChangeEndian(p)
30 #define timer_toLittleEndian(p)
31 #define timer_fromBigEndian(p) timerChangeEndian(p)
32 #define timer_fromLittleEndian(p)
34 #define mini_toBigEndian(p) miniChangeEndian(p)
35 #define mini_toLittleEndian(p)
36 #define mini_fromBigEndian(p) miniChangeEndian(p)
37 #define mini_fromLittleEndian(p)
39 #define band_toBigEndian(p) bandChangeEndian(p)
40 #define band_toLittleEndian(p)
41 #define band_fromBigEndian(p) bandChangeEndian(p)
42 #define band_fromLittleEndian(p)
44 #define timer_toBigEndian(p)
45 #define timer_toLittleEndian(p) timerChangeEndian(p)
46 #define timer_fromBigEndian(p)
47 #define timer_fromLittleEndian(p) timerChangeEndian(p)
49 #define mini_toBigEndian(p)
50 #define mini_toLittleEndian(p) miniChangeEndian(p)
51 #define mini_fromBigEndian(p)
52 #define mini_fromLittleEndian(p) miniChangeEndian(p)
54 #define band_toBigEndian(p)
55 #define band_toLittleEndian(p) bandChangeEndian(p)
56 #define band_fromBigEndian(p)
57 #define band_fromLittleEndian(p) bandChangeEndian(p)
Generated using doxygen 1.8.17
|