File boot_cl.c
FileList > cubrid > src > transaction > boot_cl.c
Go to the source code of this file
#include "config.h"
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include <unistd.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <assert.h>
#include "porting.h"
#include "util_func.h"
#include "boot_cl.h"
#include "memory_alloc.h"
#include "area_alloc.h"
#include "storage_common.h"
#include "oid.h"
#include "error_manager.h"
#include "authenticate.h"
#include "work_space.h"
#include "schema_manager.h"
#include "trigger_manager.h"
#include "db.h"
#include "dynamic_load.h"
#include "transaction_cl.h"
#include "log_comm.h"
#include "server_interface.h"
#include "release_string.h"
#include "system_parameter.h"
#include "locator_cl.h"
#include "databases_file.h"
#include "db_query.h"
#include "language_support.h"
#include "message_catalog.h"
#include "parser.h"
#include "perf_monitor.h"
#include "set_object.h"
#include "cnv.h"
#include "environment_variable.h"
#include "locator.h"
#include "transform.h"
#include "jansson.h"
#include "jsp_cl.h"
#include "client_support.h"
#include "es.h"
#include "tsc_timer.h"
#include "show_meta.h"
#include "tz_support.h"
#include "dbtype.h"
#include "method_callback.hpp"
#include "object_primitive.h"
#include "connection_globals.h"
#include "host_lookup.h"
#include "schema_system_catalog.hpp"
#include "sp_catalog.hpp"
#include "authenticate_context.hpp"
#include <signal.h>
#include "network.h"
#include "network_interface_cl.h"
#include "tcp.h"
#include "catalog_class.h"
Public Attributes
Public Static Attributes
Public Functions
Public Static Functions
Macros
Public Attributes Documentation
variable boot_Host_connected
char boot_Host_connected[CUB_MAXHOSTNAMELEN];
variable boot_Host_name
char boot_Host_name[CUB_MAXHOSTNAMELEN];
variable boot_Ip_address
char boot_Ip_address[16];
variable boot_User_volid
Public Static Attributes Documentation
variable boot_Client_id_buffer
char boot_Client_id_buffer[L_cuserid+1];
variable boot_Client_id_unknown_string
const char* boot_Client_id_unknown_string;
variable boot_Client_no_user_string
const char* boot_Client_no_user_string;
variable boot_Db_host_buf
char boot_Db_host_buf[CUB_MAXHOSTNAMELEN+1];
variable boot_Db_path_buf
char boot_Db_path_buf[PATH_MAX];
variable boot_Is_client_all_final
bool boot_Is_client_all_final;
variable boot_Lob_path_buf
char boot_Lob_path_buf[PATH_MAX];
variable boot_Log_path_buf
char boot_Log_path_buf[PATH_MAX];
variable boot_Process_id
variable boot_Server_credential
BOOT_SERVER_CREDENTIAL boot_Server_credential;
variable boot_Set_client_at_exit
bool boot_Set_client_at_exit;
variable boot_Volume_label
char boot_Volume_label[PATH_MAX];
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
)
Public Static Functions Documentation
function boot_check_locales
static int boot_check_locales (
BOOT_CLIENT_CREDENTIAL * client_credential
)
function boot_check_timezone_checksum
static int boot_check_timezone_checksum (
BOOT_CLIENT_CREDENTIAL * client_credential
)
function boot_client
static int boot_client (
int tran_index,
int lock_wait,
TRAN_ISOLATION tran_isolation
)
function boot_client_find_and_cache_class_oids
static int boot_client_find_and_cache_class_oids (
void
)
function boot_client_initialize_css
static int boot_client_initialize_css (
DB_INFO * db,
int client_type,
bool check_capabilities,
int opt_cap,
bool discriminative,
int connect_order,
bool is_preferred_host
)
function boot_shutdown_client_at_exit
static void boot_shutdown_client_at_exit (
void
)
static int install_system_metadata (
void
)
Macro Definition Documentation
define BOOT_CHECK_HA_DELAY_CAP
#define BOOT_CHECK_HA_DELAY_CAP `NET_CAP_HA_REPL_DELAY`
#define BOOT_FORMAT_MAX_LENGTH `500`
define BOOT_NO_OPT_CAP
#define BOOT_NO_OPT_CAP `0`
The documentation for this class was generated from the following file cubrid/src/transaction/boot_cl.c