X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=nucleus%2Flibrary%2Ffilesystem%2Fheavy_file_ops.h;h=debb57732a7c41b49d9786e44dc836e2af7ee3cc;hb=56a8b71bcfe324f83044a12738004151ff2fc064;hp=8cfdc42f258cc627d866094dcb7b232020d122f5;hpb=8e98ed433de0151e4356d580d2e5db6edd3e2c01;p=feisty_meow.git diff --git a/nucleus/library/filesystem/heavy_file_ops.h b/nucleus/library/filesystem/heavy_file_ops.h index 8cfdc42f..debb5773 100644 --- a/nucleus/library/filesystem/heavy_file_ops.h +++ b/nucleus/library/filesystem/heavy_file_ops.h @@ -30,6 +30,7 @@ class file_transfer_header : public basis::packable { public: basis::astring _filename; //!< the name of the file being transferred. +//hmmm: consider adding full length here so we know it. double _byte_start; //!< the starting location in the file being sent. int _length; //!< the length of the transferred piece. file_time _time; //!< the timestamp on the file. @@ -107,7 +108,8 @@ public: out before bytes are stored into it; this is not an additive operation. */ private: - static bool advance(const filename_list &to_transfer, file_transfer_header &last_action); + static basis::outcome advance(const filename_list &to_transfer, + file_transfer_header &last_action); //!< advances to the next file in the transfer list "to_transfer". };