# Generated by h2py from /usr/include/sys/types.h

# Included from features.h
_GNU_SOURCE = 1
_BSD_SOURCE = 1
_BSD_SOURCE = 1
_XOPEN_SOURCE = 700

# Included from bits/alltypes.h
_REDIR_TIME64 = 1
_Addr = int
_Reg = int
__BYTE_ORDER = 4321
__BYTE_ORDER = 1234
__LONG_MAX = 0x7fffffffL
__LITTLE_ENDIAN = 1234
__BIG_ENDIAN = 4321
__USE_TIME_BITS64 = 1

# Included from endian.h
__PDP_ENDIAN = 3412
BIG_ENDIAN = __BIG_ENDIAN
LITTLE_ENDIAN = __LITTLE_ENDIAN
PDP_ENDIAN = __PDP_ENDIAN
BYTE_ORDER = __BYTE_ORDER
def htobe16(x): return __bswap16(x)

def be16toh(x): return __bswap16(x)

def htobe32(x): return __bswap32(x)

def be32toh(x): return __bswap32(x)

def htobe64(x): return __bswap64(x)

def be64toh(x): return __bswap64(x)

def htole16(x): return (uint16_t)(x)

def le16toh(x): return (uint16_t)(x)

def htole32(x): return (uint32_t)(x)

def le32toh(x): return (uint32_t)(x)

def htole64(x): return (uint64_t)(x)

def le64toh(x): return (uint64_t)(x)

def htobe16(x): return (uint16_t)(x)

def be16toh(x): return (uint16_t)(x)

def htobe32(x): return (uint32_t)(x)

def be32toh(x): return (uint32_t)(x)

def htobe64(x): return (uint64_t)(x)

def be64toh(x): return (uint64_t)(x)

def htole16(x): return __bswap16(x)

def le16toh(x): return __bswap16(x)

def htole32(x): return __bswap32(x)

def le32toh(x): return __bswap32(x)

def htole64(x): return __bswap64(x)

def le64toh(x): return __bswap64(x)

def betoh16(x): return __bswap16(x)

def betoh32(x): return __bswap32(x)

def betoh64(x): return __bswap64(x)

def letoh16(x): return (uint16_t)(x)

def letoh32(x): return (uint32_t)(x)

def letoh64(x): return (uint64_t)(x)

def betoh16(x): return (uint16_t)(x)

def betoh32(x): return (uint32_t)(x)

def betoh64(x): return (uint64_t)(x)

def letoh16(x): return __bswap16(x)

def letoh32(x): return __bswap32(x)

def letoh64(x): return __bswap64(x)


# Included from sys/select.h
FD_SETSIZE = 1024
