add type struct sf_space_stat

connection_manager
YuQing 2020-10-11 12:53:41 +08:00
parent 730ed9db6e
commit 79d367854b
1 changed files with 7 additions and 1 deletions

View File

@ -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