From 79d367854b47da35592984f0b99ceaf0ca67b087 Mon Sep 17 00:00:00 2001 From: YuQing <384681@qq.com> Date: Sun, 11 Oct 2020 12:53:41 +0800 Subject: [PATCH] add type struct sf_space_stat --- src/sf_types.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/sf_types.h b/src/sf_types.h index 126d4ed..76d5b8d 100644 --- a/src/sf_types.h +++ b/src/sf_types.h @@ -69,7 +69,7 @@ typedef struct { SFErrorInfo error; } SFResponseInfo; -typedef struct fs_binlog_file_position { +typedef struct sf_binlog_file_position { int index; //current binlog file int64_t offset; //current file offset } SFBinlogFilePosition; @@ -81,4 +81,10 @@ typedef struct server_binlog_buffer { int size; //the buffer size (capacity) } SFBinlogBuffer; +typedef struct sf_space_stat { + int64_t total; + int64_t avail; + int64_t used; +} SFSpaceStat; + #endif