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