diff options
author | Shauren <shauren.trinity@gmail.com> | 2018-03-16 18:44:57 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2018-09-16 16:57:43 +0200 |
commit | 1188a48c944aeb650ced19008646b6529c341c22 (patch) | |
tree | a8c897437e2cce56135a67c539e5574a9fe67092 /src/common/DataStores/DB2FileSystemSource.cpp | |
parent | b994868c6a732284f5b1edbd931fc4f6470761a6 (diff) |
Core/DataStores: Implemented WDC2
Diffstat (limited to 'src/common/DataStores/DB2FileSystemSource.cpp')
-rw-r--r-- | src/common/DataStores/DB2FileSystemSource.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/DataStores/DB2FileSystemSource.cpp b/src/common/DataStores/DB2FileSystemSource.cpp index 930100e8d38..b8a4e4258b6 100644 --- a/src/common/DataStores/DB2FileSystemSource.cpp +++ b/src/common/DataStores/DB2FileSystemSource.cpp @@ -45,6 +45,11 @@ std::size_t DB2FileSystemSource::GetPosition() const return ftell(_file); } +void DB2FileSystemSource::SetPosition(std::size_t position) +{ + fseek(_file, position, SEEK_SET); +} + std::size_t DB2FileSystemSource::GetFileSize() const { boost::system::error_code error; |