File log_compress.h
FileList > cubrid > src > transaction > log_compress.h
Go to the source code of this file
#include "compressor.hpp"
Classes
Public Types
Public Functions
Macros
| Type |
Name |
| define |
GET_ZIP_LEN (length) ((length) & ~(0x80000000))
|
| define |
LOG_ZIP_BUF_SIZE (type, length) ([**cubcompress::bound**](namespacecubcompress.md#function-bound)<cubcompress::type> (length) + [**sizeof**](broker__monitor_8c.md#function-timeout) ([**LOG\_ZIP\_SIZE\_T**](log__compress_8h.md#define-log_zip_size_t)))
|
| define |
LOG_ZIP_SIZE_T [**int**](broker__monitor_8c.md#function-timeout)
|
| define |
MAKE_ZIP_LEN (length) ((length) \| 0x80000000)
|
| define |
ZIP_CHECK (length) (((length) & 0x80000000) ? [**true**](broker__monitor_8c.md#function-timeout) : [**false**](broker__monitor_8c.md#function-timeout))
|
Public Types Documentation
typedef LOG_ZIP
typedef struct log_zip LOG_ZIP;
Public Functions Documentation
function log_diff
bool log_diff (
int undo_length,
const void * undo_data,
int redo_length,
void * redo_data
)
function log_unzip
bool log_unzip (
LOG_ZIP * log_unzip,
int length,
const void * data
)
function log_zip
bool log_zip (
LOG_ZIP * log_zip,
int length,
const void * data
)
function log_zip_alloc
LOG_ZIP * log_zip_alloc (
int size
)
function log_zip_free
void log_zip_free (
LOG_ZIP * log_zip
)
function log_zip_free_data
void log_zip_free_data (
LOG_ZIP & log_zip
)
function log_zip_realloc_if_needed
bool log_zip_realloc_if_needed (
LOG_ZIP & log_zip,
int new_size
)
Macro Definition Documentation
define GET_ZIP_LEN
#define GET_ZIP_LEN (
length
) `((length) & ~(0x80000000))`
define LOG_ZIP_BUF_SIZE
#define LOG_ZIP_BUF_SIZE (
type,
length
) `( cubcompress::bound <cubcompress::type> (length) + sizeof ( LOG_ZIP_SIZE_T ))`
define LOG_ZIP_SIZE_T
#define LOG_ZIP_SIZE_T `int`
define MAKE_ZIP_LEN
#define MAKE_ZIP_LEN (
length
) `((length) | 0x80000000)`
define ZIP_CHECK
#define ZIP_CHECK (
length
) `(((length) & 0x80000000) ? true : false )`
The documentation for this class was generated from the following file cubrid/src/transaction/log_compress.h