libextractor  1.11
About: GNU libextractor is a library used to extract meta-data from files of arbitrary type.
  Fossies Dox: libextractor-1.11.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

le_architecture.h File Reference

support routines and defines to deal with architecture-specific issues More...

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

Go to the source code of this file.

Macros

#define LE_htobe16(x)   __bswap_16 (x)
 
#define LE_htole16(x)   (x)
 
#define LE_be16toh(x)   __bswap_16 (x)
 
#define LE_le16toh(x)   (x)
 
#define LE_htobe32(x)   __bswap_32 (x)
 
#define LE_htole32(x)   (x)
 
#define LE_be32toh(x)   __bswap_32 (x)
 
#define LE_le32toh(x)   (x)
 
#define LE_htobe64(x)   __bswap_64 (x)
 
#define LE_htole64(x)   (x)
 
#define LE_be64toh(x)   __bswap_64 (x)
 
#define LE_le64toh(x)   (x)
 
#define LE_htobe16(x)   (x)
 
#define LE_htole16(x)   __bswap_16 (x)
 
#define LE_be16toh(x)   (x)
 
#define LE_le16toh(x)   __bswap_16 (x)
 
#define LE_htobe32(x)   (x)
 
#define LE_htole32(x)   __bswap_32 (x)
 
#define LE_be32toh(x)   (x)
 
#define LE_le32toh(x)   __bswap_32 (x)
 
#define LE_htobe64(x)   (x)
 
#define LE_htole64(x)   __bswap_64 (x)
 
#define LE_be64toh(x)   (x)
 
#define LE_le64toh(x)   __bswap_64 (x)
 
#define LE_PACKED   __attribute__((packed))
 
#define LE_NETWORK_STRUCT_BEGIN
 
#define LE_NETWORK_STRUCT_END
 

Detailed Description

support routines and defines to deal with architecture-specific issues

Definition in file le_architecture.h.

Macro Definition Documentation

◆ LE_be16toh [1/2]

#define LE_be16toh (   x)    __bswap_16 (x)

Definition at line 84 of file le_architecture.h.

◆ LE_be16toh [2/2]

#define LE_be16toh (   x)    (x)

Definition at line 84 of file le_architecture.h.

◆ LE_be32toh [1/2]

#define LE_be32toh (   x)    __bswap_32 (x)

Definition at line 89 of file le_architecture.h.

◆ LE_be32toh [2/2]

#define LE_be32toh (   x)    (x)

Definition at line 89 of file le_architecture.h.

◆ LE_be64toh [1/2]

#define LE_be64toh (   x)    __bswap_64 (x)

Definition at line 94 of file le_architecture.h.

◆ LE_be64toh [2/2]

#define LE_be64toh (   x)    (x)

Definition at line 94 of file le_architecture.h.

◆ LE_htobe16 [1/2]

#define LE_htobe16 (   x)    __bswap_16 (x)

Endian operations

Definition at line 82 of file le_architecture.h.

◆ LE_htobe16 [2/2]

#define LE_htobe16 (   x)    (x)

Endian operations

Definition at line 82 of file le_architecture.h.

◆ LE_htobe32 [1/2]

#define LE_htobe32 (   x)    __bswap_32 (x)

Definition at line 87 of file le_architecture.h.

◆ LE_htobe32 [2/2]

#define LE_htobe32 (   x)    (x)

Definition at line 87 of file le_architecture.h.

◆ LE_htobe64 [1/2]

#define LE_htobe64 (   x)    __bswap_64 (x)

Definition at line 92 of file le_architecture.h.

◆ LE_htobe64 [2/2]

#define LE_htobe64 (   x)    (x)

Definition at line 92 of file le_architecture.h.

◆ LE_htole16 [1/2]

#define LE_htole16 (   x)    (x)

Definition at line 83 of file le_architecture.h.

◆ LE_htole16 [2/2]

#define LE_htole16 (   x)    __bswap_16 (x)

Definition at line 83 of file le_architecture.h.

◆ LE_htole32 [1/2]

#define LE_htole32 (   x)    (x)

Definition at line 88 of file le_architecture.h.

◆ LE_htole32 [2/2]

#define LE_htole32 (   x)    __bswap_32 (x)

Definition at line 88 of file le_architecture.h.

◆ LE_htole64 [1/2]

#define LE_htole64 (   x)    (x)

Definition at line 93 of file le_architecture.h.

◆ LE_htole64 [2/2]

#define LE_htole64 (   x)    __bswap_64 (x)

Definition at line 93 of file le_architecture.h.

◆ LE_le16toh [1/2]

#define LE_le16toh (   x)    (x)

Definition at line 85 of file le_architecture.h.

◆ LE_le16toh [2/2]

#define LE_le16toh (   x)    __bswap_16 (x)

Definition at line 85 of file le_architecture.h.

◆ LE_le32toh [1/2]

#define LE_le32toh (   x)    (x)

Definition at line 90 of file le_architecture.h.

◆ LE_le32toh [2/2]

#define LE_le32toh (   x)    __bswap_32 (x)

Definition at line 90 of file le_architecture.h.

◆ LE_le64toh [1/2]

#define LE_le64toh (   x)    (x)

Definition at line 95 of file le_architecture.h.

◆ LE_le64toh [2/2]

#define LE_le64toh (   x)    __bswap_64 (x)

Definition at line 95 of file le_architecture.h.

◆ LE_NETWORK_STRUCT_BEGIN

#define LE_NETWORK_STRUCT_BEGIN

Good luck, LE_PACKED should suffice, but this won't work on W32

Definition at line 125 of file le_architecture.h.

◆ LE_NETWORK_STRUCT_END

#define LE_NETWORK_STRUCT_END

Good luck, LE_PACKED should suffice, but this won't work on W32

Definition at line 130 of file le_architecture.h.

◆ LE_PACKED

#define LE_PACKED   __attribute__((packed))

gcc-ism to get packed structs.

Definition at line 102 of file le_architecture.h.