File cnv.c
FileList > compat > cnv.c
Go to the source code of this file
#include "config.h"
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <limits.h>
#include <float.h>
#include <math.h>
#include <time.h>
#include <stdarg.h>
#include <wchar.h>
#include "porting.h"
#include "dbtype.h"
#include "memory_wrapper.hpp"
Public Types
Public Functions
Public Static Functions
Macros
| Type |
Name |
| define |
BITS_IN_BYTE 8
|
| define |
BITS_IN_HEX 4
|
| define |
BYTE_COUNT (bit_cnt) ((([**bit\_cnt**](broker__monitor_8c.md#function-timeout))+[**BITS\_IN\_BYTE**](cnv_8c.md#define-bits_in_byte)-1)/[**BITS\_IN\_BYTE**](cnv_8c.md#define-bits_in_byte))
|
| define |
BYTE_COUNT_HEX (bit_cnt) ((([**bit\_cnt**](broker__monitor_8c.md#function-timeout))+[**BITS\_IN\_HEX**](cnv_8c.md#define-bits_in_hex)-1)/[**BITS\_IN\_HEX**](cnv_8c.md#define-bits_in_hex))
|
| define |
HEX_IN_BYTE 2
|
Public Types Documentation
typedef enum bit_string_format_e BIT_STRING_FORMAT;
enum bit_string_format_e {
BIT_STRING_BINARY = 0,
BIT_STRING_HEX = 1
};
Public Functions Documentation
function db_bit_string
int db_bit_string (
const DB_VALUE * the_db_bit,
const char * bit_format,
char * string,
int max_size
)
Public Static Functions Documentation
function bfmt_print
static int bfmt_print (
BIT_STRING_FORMAT * bfmt,
const DB_VALUE * the_db_bit,
char * string,
int max_size
)
Macro Definition Documentation
define BITS_IN_BYTE
define BITS_IN_HEX
define BYTE_COUNT
#define BYTE_COUNT (
bit_cnt
) `((( bit_cnt )+ BITS_IN_BYTE -1)/ BITS_IN_BYTE )`
define BYTE_COUNT_HEX
#define BYTE_COUNT_HEX (
bit_cnt
) `((( bit_cnt )+ BITS_IN_HEX -1)/ BITS_IN_HEX )`
define HEX_IN_BYTE
The documentation for this class was generated from the following file cubrid/src/compat/cnv.c