2021-03-14 | Paul Boddie | raw annotate files changeset graph | Switched to using the flags type throughout. |
1 #include "accessor.h" 2 3 Accessor::Accessor(fileid_t fileid, offset_t size) 4 : _size(size), fileid(fileid) 5 { 6 } 7 8 /* Return the size of the file. */ 9 10 offset_t Accessor::get_size() 11 { 12 return _size; 13 } 14 15 /* Perform any closing operation on the file. */ 16 17 void Accessor::close() 18 { 19 } 20 21 /* Perform any opening operation on the file. */ 22 23 void Accessor::open() 24 { 25 } 26 27 // vim: tabstop=4 expandtab shiftwidth=4