1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/accessor.cc Sat Jan 23 00:01:22 2021 +0100
1.3 @@ -0,0 +1,27 @@
1.4 +#include "accessor.h"
1.5 +
1.6 +Accessor::Accessor(fileid_t fileid, offset_t size)
1.7 +: _size(size), fileid(fileid)
1.8 +{
1.9 +}
1.10 +
1.11 +/* Return the size of the file. */
1.12 +
1.13 +offset_t Accessor::get_size()
1.14 +{
1.15 + return _size;
1.16 +}
1.17 +
1.18 +/* Perform any closing operation on the file. */
1.19 +
1.20 +void Accessor::close()
1.21 +{
1.22 +}
1.23 +
1.24 +/* Perform any opening operation on the file. */
1.25 +
1.26 +void Accessor::open()
1.27 +{
1.28 +}
1.29 +
1.30 +// vim: tabstop=4 expandtab shiftwidth=4