Skip to content

File boot_cl.h

FileList > cubrid > src > transaction > boot_cl.h

Go to the source code of this file

  • #include <sys/time.h>
  • #include "porting.h"
  • #include "boot.h"
  • #include "error_manager.h"
  • #include "storage_common.h"
  • #include "transaction_cl.h"

Public Types

Type Name
enum boot__cl_8h_1a70bd01545ca54514ee53e0eb670b9562

Public Attributes

Type Name
char boot_Host_connected
VOLID boot_User_volid

Public Functions

Type Name
int boot_build_catalog_classes (const char * dbname)
void boot_clear_host_connected (void)
void boot_client_all_finalize (int final_level)
int boot_destroy_catalog_classes (void)
void boot_donot_shutdown_client_at_exit (void)
HA_SERVER_STATE boot_get_ha_server_state (void)
char * boot_get_host_connected (void)
char * boot_get_host_name (void)
char * boot_get_ip (void)
const char * boot_get_lob_path (void)
char * boot_get_server_session_key (void)
int boot_initialize_client (BOOT_CLIENT_CREDENTIAL * client_credential, BOOT_DB_PATH_INFO * db_path_info, bool db_overwrite, const char * file_addmore_vols, DKNPAGES npages, PGLENGTH db_desired_pagesize, DKNPAGES log_npages, PGLENGTH db_desired_log_page_size, const char * lang_charset)
int boot_rebuild_catalog_classes (const char * dbname)
int boot_restart_client (BOOT_CLIENT_CREDENTIAL * client_credential)
void boot_server_die_or_changed (void)
void boot_set_server_session_key (const char * key)
int boot_shutdown_client (bool is_er_final)

Macros

Type Name
define BOOT_IS_CLIENT_RESTARTED () ([**tm\_Tran\_index**](transaction__cl_8c.md#variable-tm_tran_index) != [**NULL\_TRAN\_INDEX**](storage__common_8h.md#define-null_tran_index))

Public Types Documentation

enum boot__cl_8h_1a70bd01545ca54514ee53e0eb670b9562

enum boot__cl_8h_1a70bd01545ca54514ee53e0eb670b9562 {
    ALL_FINALIZATION = 0,
    EXCEPT_ER_FINALIZATION = 1,
    OPTIONAL_FINALIZATION = 2
};

Public Attributes Documentation

variable boot_Host_connected

char boot_Host_connected[CUB_MAXHOSTNAMELEN];

variable boot_User_volid

VOLID boot_User_volid;

Public Functions Documentation

function boot_build_catalog_classes

int boot_build_catalog_classes (
    const  char * dbname
) 

function boot_clear_host_connected

void boot_clear_host_connected (
    void
) 

function boot_client_all_finalize

void boot_client_all_finalize (
    int final_level
) 

function boot_destroy_catalog_classes

int boot_destroy_catalog_classes (
    void
) 

function boot_donot_shutdown_client_at_exit

void boot_donot_shutdown_client_at_exit (
    void
) 

function boot_get_ha_server_state

HA_SERVER_STATE boot_get_ha_server_state (
    void
) 

function boot_get_host_connected

char * boot_get_host_connected (
    void
) 

function boot_get_host_name

char * boot_get_host_name (
    void
) 

function boot_get_ip

char * boot_get_ip (
    void
) 

function boot_get_lob_path

const  char * boot_get_lob_path (
    void
) 

function boot_get_server_session_key

char * boot_get_server_session_key (
    void
) 

function boot_initialize_client

int boot_initialize_client (
    BOOT_CLIENT_CREDENTIAL * client_credential,
    BOOT_DB_PATH_INFO * db_path_info,
    bool db_overwrite,
    const  char * file_addmore_vols,
    DKNPAGES npages,
    PGLENGTH db_desired_pagesize,
    DKNPAGES log_npages,
    PGLENGTH db_desired_log_page_size,
    const  char * lang_charset
) 

function boot_rebuild_catalog_classes

int boot_rebuild_catalog_classes (
    const  char * dbname
) 

function boot_restart_client

int boot_restart_client (
    BOOT_CLIENT_CREDENTIAL * client_credential
) 

function boot_server_die_or_changed

void boot_server_die_or_changed (
    void
) 

function boot_set_server_session_key

void boot_set_server_session_key (
    const  char * key
) 

function boot_shutdown_client

int boot_shutdown_client (
    bool is_er_final
) 

Macro Definition Documentation

define BOOT_IS_CLIENT_RESTARTED

#define BOOT_IS_CLIENT_RESTARTED (

) `( tm_Tran_index != NULL_TRAN_INDEX )`


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