Skip to content

File log_top_string.c

FileList > broker > log_top_string.c

Go to the source code of this file

  • #include <stdio.h>
  • #include <stdlib.h>
  • #include <string.h>
  • #include "cas_common.h"
  • #include "log_top_string.h"

Public Functions

Type Name
int t_bind_string_add (T_STRING * t_str, char * str, int str_len, int bind_len)
int t_string_add (T_STRING * t_str, char * str, int str_len)
int t_string_bind_len (T_STRING * t_str)
void t_string_clear (T_STRING * t_str)
void t_string_free (T_STRING * t_str)
int t_string_len (T_STRING * t_str)
T_STRING * t_string_make (int init_size)
char * t_string_str (T_STRING * t_str)

Macros

Type Name
define STR_ALLOC_SIZE (X) ((([**X**](broker__monitor_8c.md#function-timeout)) + 1023) / 1024 \* 1024)

Public Functions Documentation

function t_bind_string_add

int t_bind_string_add (
    T_STRING * t_str,
    char * str,
    int str_len,
    int bind_len
) 

function t_string_add

int t_string_add (
    T_STRING * t_str,
    char * str,
    int str_len
) 

function t_string_bind_len

int t_string_bind_len (
    T_STRING * t_str
) 

function t_string_clear

void t_string_clear (
    T_STRING * t_str
) 

function t_string_free

void t_string_free (
    T_STRING * t_str
) 

function t_string_len

int t_string_len (
    T_STRING * t_str
) 

function t_string_make

T_STRING * t_string_make (
    int init_size
) 

function t_string_str

char * t_string_str (
    T_STRING * t_str
) 

Macro Definition Documentation

define STR_ALLOC_SIZE

#define STR_ALLOC_SIZE (
    X
) `((( X ) + 1023) / 1024 * 1024)`


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