Endian.h File Reference

#include <endian.h>

Include dependency graph for Endian.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define SWAP16_IF_LE(s)   ((((s) & 0xff) << 8) | (((s) >> 8) & 0xff))
#define SWAP16_IF_BE(s)   (s)
#define SWAP32_IF_LE(l)
#define SWAP32_IF_BE(l)   (l)


Define Documentation

#define SWAP16_IF_BE (  )     (s)

Definition at line 15 of file Endian.h.

#define SWAP16_IF_LE (  )     ((((s) & 0xff) << 8) | (((s) >> 8) & 0xff))

Definition at line 14 of file Endian.h.

#define SWAP32_IF_BE (  )     (l)

Definition at line 22 of file Endian.h.

Referenced by License::check(), License::decode(), License::encode(), and License::generate().

#define SWAP32_IF_LE (  ) 

Value:

((((l) & 0xff000000) >> 24) | \
    (((l) & 0x00ff0000) >> 8)  | \
    (((l) & 0x0000ff00) << 8)  | \
    (((l) & 0x000000ff) << 24))

Definition at line 17 of file Endian.h.


Generated on Thu Sep 6 20:11:39 2007 for Pylon Application Platform by  doxygen 1.5.1