File master_util.h
FileList > cubrid > src > executables > master_util.h
Go to the source code of this file
#include "connection_defs.h"
Classes
Public Types
Public Attributes
Public Functions
Macros
Public Types Documentation
typedef SOCKET_QUEUE_ENTRY
typedef struct socket_queue_entry SOCKET_QUEUE_ENTRY;
Public Attributes Documentation
variable css_Master_er_log_enable_lock
pthread_mutex_t css_Master_er_log_enable_lock;
variable css_Master_er_log_enabled
bool css_Master_er_log_enabled;
variable css_Master_er_log_lock
pthread_mutex_t css_Master_er_log_lock;
Public Functions Documentation
function master_util_config_startup
bool master_util_config_startup (
const char * db_name,
int * port_id
)
function master_util_wait_proc_terminate
void master_util_wait_proc_terminate (
int pid
)
Macro Definition Documentation
define GET_REAL_MASTER_CONN_NAME
#define GET_REAL_MASTER_CONN_NAME (
name
) `((( char *) name) + 1)`
define IS_MASTER_CONN_NAME_DRIVER
#define IS_MASTER_CONN_NAME_DRIVER (
name
) `(*(( char *)name) == '-')`
define IS_MASTER_CONN_NAME_HA_APPLYLOG
#define IS_MASTER_CONN_NAME_HA_APPLYLOG (
name
) `(*(( char *)name) == '%')`
define IS_MASTER_CONN_NAME_HA_COPYLOG
#define IS_MASTER_CONN_NAME_HA_COPYLOG (
name
) `(*(( char *)name) == '$')`
define IS_MASTER_CONN_NAME_HA_SERVER
#define IS_MASTER_CONN_NAME_HA_SERVER (
name
) `(*(( char *)name) == '#')`
define MASTER_ER_LOG_DEBUG
#define MASTER_ER_LOG_DEBUG (
...
) `/* multi line expression */`
define MASTER_ER_SET
#define MASTER_ER_SET (
...
) `/* multi line expression */`
define MASTER_ER_SET_WITH_OSERROR
#define MASTER_ER_SET_WITH_OSERROR (
...
) `/* multi line expression */`
define SLEEP_MILISEC
#define SLEEP_MILISEC (
sec,
msec
) `/* multi line expression */`
define SLEEP_SEC
#define SLEEP_SEC (
X
) `sleep ( X )`
The documentation for this class was generated from the following file cubrid/src/executables/master_util.h