#include <stddef.h>
#include <limits.h>
#include <float.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <inttypes.h>
Go to the source code of this file.
Defines | |
#define | HAS_READDIR_R |
#define | INADDR_NONE INADDR_BROADCAST |
#define | LEMUR_ALIGN 16 |
#define | LEMUR_PREALIGN |
#define | LEMUR_POSTALIGN __attribute__ ((aligned)) |
#define | PTR_TO_SIZET(s) ( (size_t) ( (void*) (s) ) ) |
#define | PTR_TO_INT(s) ( (int) ( (size_t) ( (void*) (s) ) ) ) |
#define | MAX_UINT64 ( ~ ((UINT64) 0) ) |
#define | MAX_INT64 ( (INT64) ( MAX_UINT64 >> 1 ) ) |
#define | MIN_INT64 ( (INT64) ( MAX_UINT64 ^ ( (UINT64) MAX_INT64 ) ) ) |
#define | MAX_UINT32 ( ~ ((UINT32) 0) ) |
#define | MAX_INT32 ( (INT32) (MAX_UINT32 >> 1) ) |
#define | MIN_INT32 ( (INT32) ( MAX_UINT32 ^ ( (UINT32) MAX_INT32 ) ) ) |
Typedefs | |
typedef uint8_t | UINT8 |
typedef int8_t | INT8 |
typedef uint16_t | UINT16 |
typedef int16_t | INT16 |
typedef uint32_t | UINT32 |
typedef int32_t | INT32 |
typedef uint64_t | UINT64 |
typedef int64_t | INT64 |
typedef off_t | FILE_OFFSET |
typedef int | socket_t |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lemur-platform.h The point of this header is to contain the kinds of things that are stored in platform.h on Unix: * endian constants * type size constants * typedefs |