add type struct sf_space_stat
parent
730ed9db6e
commit
79d367854b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue