Skip to content

File byte_order.h

FileList > cubrid > src > storage > byte_order.h

Go to the source code of this file

  • #include "system.h"

Public Types

Type Name
typedef union moving_van MOVING_VAN
union moving_van

Public Functions

Type Name
UINT64 htond (double from)
UINT32 htonf (float from)
UINT64 htoni64 (UINT64 from)
unsigned int htonl (unsigned int from)
unsigned short htons (unsigned short from)
double ntohd (UINT64 from)
float ntohf (UINT32 from)
UINT64 ntohi64 (UINT64 from)
unsigned int ntohl (unsigned int from)
unsigned short ntohs (unsigned short from)

Macros

Type Name
define OR_BIG_ENDIAN 4321
define OR_BYTE_ORDER [**OR\_LITTLE\_ENDIAN**](byte__order_8h.md#define-or_little_endian) /\* [**WINDOWS**](broker__monitor_8c.md#function-timeout), [**LINUX**](broker__monitor_8c.md#function-timeout), [**x86\_SOLARIS**](broker__monitor_8c.md#function-timeout) \*/
define OR_LITTLE_ENDIAN 1234
define OR_MOVE_DOUBLE (src, dst) ((([**MOVING\_VAN**](byte__order_8h.md#typedef-moving_van) \*)([**dst**](broker__monitor_8c.md#function-timeout)))->bits = (([**MOVING\_VAN**](byte__order_8h.md#typedef-moving_van) \*)(src))->bits)
define swap64 (x) /* multi line expression */

Public Types Documentation

typedef MOVING_VAN

typedef union moving_van MOVING_VAN;

union moving_van



Public Functions Documentation

function htond

UINT64 htond (
    double from
) 

function htonf

UINT32 htonf (
    float from
) 

function htoni64

UINT64 htoni64 (
    UINT64 from
) 

function htonl

unsigned  int htonl (
    unsigned  int from
) 

function htons

unsigned  short htons (
    unsigned  short from
) 

function ntohd

double ntohd (
    UINT64 from
) 

function ntohf

float ntohf (
    UINT32 from
) 

function ntohi64

UINT64 ntohi64 (
    UINT64 from
) 

function ntohl

unsigned  int ntohl (
    unsigned  int from
) 

function ntohs

unsigned  short ntohs (
    unsigned  short from
) 

Macro Definition Documentation

define OR_BIG_ENDIAN

#define OR_BIG_ENDIAN `4321`

define OR_BYTE_ORDER

#define OR_BYTE_ORDER `OR_LITTLE_ENDIAN /* WINDOWS , LINUX , x86_SOLARIS */`

define OR_LITTLE_ENDIAN

#define OR_LITTLE_ENDIAN `1234`

define OR_MOVE_DOUBLE

#define OR_MOVE_DOUBLE (
    src,
    dst
) `((( MOVING_VAN *)( dst ))->bits = (( MOVING_VAN *)(src))->bits)`

define swap64

#define swap64 (
    x
) `/* multi line expression */`


The documentation for this class was generated from the following file cubrid/src/storage/byte_order.h