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¶
union moving_van¶
Public Functions Documentation¶
function htond¶
function htonf¶
function htoni64¶
function htonl¶
function htons¶
function ntohd¶
function ntohf¶
function ntohi64¶
function ntohl¶
function ntohs¶
Macro Definition Documentation¶
define OR_BIG_ENDIAN¶
define OR_BYTE_ORDER¶
define OR_LITTLE_ENDIAN¶
define OR_MOVE_DOUBLE¶
#define OR_MOVE_DOUBLE (
src,
dst
) `((( MOVING_VAN *)( dst ))->bits = (( MOVING_VAN *)(src))->bits)`
define swap64¶
The documentation for this class was generated from the following file cubrid/src/storage/byte_order.h