add type struct sf_space_stat
parent
730ed9db6e
commit
79d367854b
|
|
@ -69,7 +69,7 @@ typedef struct {
|
||||||
SFErrorInfo error;
|
SFErrorInfo error;
|
||||||
} SFResponseInfo;
|
} SFResponseInfo;
|
||||||
|
|
||||||
typedef struct fs_binlog_file_position {
|
typedef struct sf_binlog_file_position {
|
||||||
int index; //current binlog file
|
int index; //current binlog file
|
||||||
int64_t offset; //current file offset
|
int64_t offset; //current file offset
|
||||||
} SFBinlogFilePosition;
|
} SFBinlogFilePosition;
|
||||||
|
|
@ -81,4 +81,10 @@ typedef struct server_binlog_buffer {
|
||||||
int size; //the buffer size (capacity)
|
int size; //the buffer size (capacity)
|
||||||
} SFBinlogBuffer;
|
} SFBinlogBuffer;
|
||||||
|
|
||||||
|
typedef struct sf_space_stat {
|
||||||
|
int64_t total;
|
||||||
|
int64_t avail;
|
||||||
|
int64_t used;
|
||||||
|
} SFSpaceStat;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue