File broker_log_top_tran.c
FileList > broker > broker_log_top_tran.c
Go to the source code of this file
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include "cas_common.h"
#include "broker_log_top.h"
#include "log_top_string.h"
#include "broker_log_util.h"
Classes
Public Types
Public Static Attributes
Public Functions
Public Static Functions
Macros
Public Types Documentation
typedef T_LOG_INFO
typedef struct t_log_info T_LOG_INFO;
Public Static Attributes Documentation
variable info_arr
T_LOG_INFO info_arr[1000+1];
variable info_arr_max_size
variable info_arr_size
Public Functions Documentation
function log_top_tran
int log_top_tran (
int argc,
char * argv,
int arg_start
)
Public Static Functions Documentation
function info_add
static int info_add (
T_LOG_INFO * info,
char * start_date,
char * end_date
)
function info_delete
static int info_delete (
T_LOG_INFO * info
)
function log_top
static int log_top (
FILE * fp,
char * filename,
long start_offset,
long end_offset
)
function print_result
static void print_result (
void
)
Macro Definition Documentation
define LOG_TOP_RES_FILE_TRAN
#define LOG_TOP_RES_FILE_TRAN `"log_top.t"`
define TRAN_LOG_MAX_COUNT
#define TRAN_LOG_MAX_COUNT `1000`
The documentation for this class was generated from the following file cubrid/src/broker/broker_log_top_tran.c