Skip to content

File cas_util.h

FileList > broker > cas_util.h

Go to the source code of this file

  • #include "cas_common.h"
  • #include "broker_cas_cci.h"
  • #include "cas_common_vars.h"
  • #include "cas_handle.h"
  • #include "cas_error.h"

Public Types

Type Name
enum STATEMENT_STATUS

Public Functions

Type Name
const char * get_schema_type_str (int schema_type)
const char * get_tran_type_str (int tran_type)
int ut_check_timeout (struct timeval * start_time, struct timeval * end_time, int timeout_msec, int * res_sec, int * res_msec)
void ut_timeval_diff (struct timeval * start, struct timeval * end, int * res_sec, int * res_msec)
void ut_tolower (char * str)
char * ut_uchar2ipstr (unsigned char * ip_addr)

Macros

Type Name
define ut_trim [**trim**](chartype_8c.md#function-trim)

Public Types Documentation

enum STATEMENT_STATUS

enum STATEMENT_STATUS {
    STMT_NONE_TOKENS,
    SQL_STYLE_COMMENT,
    C_STYLE_COMMENT,
    CPP_STYLE_COMMENT,
    SINGLE_QUOTED_STRING,
    DOUBLE_QUOTED_STRING
};

Public Functions Documentation

function get_schema_type_str

const  char * get_schema_type_str (
    int schema_type
) 

function get_tran_type_str

const  char * get_tran_type_str (
    int tran_type
) 

function ut_check_timeout

int ut_check_timeout (
    struct  timeval * start_time,
    struct  timeval * end_time,
    int timeout_msec,
    int * res_sec,
    int * res_msec
) 

function ut_timeval_diff

void ut_timeval_diff (
    struct  timeval * start,
    struct  timeval * end,
    int * res_sec,
    int * res_msec
) 

function ut_tolower

void ut_tolower (
    char * str
) 

function ut_uchar2ipstr

char * ut_uchar2ipstr (
    unsigned  char * ip_addr
) 

Macro Definition Documentation

define ut_trim

#define ut_trim `trim`


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