Skip to content

File broker_log_util.c

FileList > broker > broker_log_util.c

Go to the source code of this file

  • #include <stdio.h>
  • #include <stdlib.h>
  • #include <string.h>
  • #include <ctype.h>
  • #include <sys/time.h>
  • #include "cas_common.h"
  • #include "broker_log_util.h"
  • #include "broker_cas_cci.h"

Public Functions

Type Name
char * get_msg_start_ptr (char * linebuf)
int is_cas_log (char * str)
int str_to_log_date_format (char * str, char * date_format_str)
int ut_check_log_valid_time (const char * log_date, const char * from_date, const char * to_date)
double ut_diff_time (struct timeval * begin, struct timeval * end)
char * ut_get_execute_type (char * msg_p, int * prepare_flag, int * execute_flag)
int ut_get_line (FILE * fp, T_STRING * t_str, char ** out_str, int * lineno)
void ut_tolower (char * str)

Public Static Functions

Type Name
bool is_bind_with_size (char * buf, int * tot_val_size, int * info_size)

Macros

Type Name
define DATE_VALUE_COUNT 7

Public Functions Documentation

function get_msg_start_ptr

char * get_msg_start_ptr (
    char * linebuf
) 

function is_cas_log

int is_cas_log (
    char * str
) 

function str_to_log_date_format

int str_to_log_date_format (
    char * str,
    char * date_format_str
) 

function ut_check_log_valid_time

int ut_check_log_valid_time (
    const  char * log_date,
    const  char * from_date,
    const  char * to_date
) 

function ut_diff_time

double ut_diff_time (
    struct  timeval * begin,
    struct  timeval * end
) 

function ut_get_execute_type

char * ut_get_execute_type (
    char * msg_p,
    int * prepare_flag,
    int * execute_flag
) 

function ut_get_line

int ut_get_line (
    FILE * fp,
    T_STRING * t_str,
    char ** out_str,
    int * lineno
) 

function ut_tolower

void ut_tolower (
    char * str
) 

Public Static Functions Documentation

function is_bind_with_size

static bool is_bind_with_size (
    char * buf,
    int * tot_val_size,
    int * info_size
) 

Macro Definition Documentation

define DATE_VALUE_COUNT

#define DATE_VALUE_COUNT `7`


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