feat: continuing work on downloading files

This commit is contained in:
Andrew Rioux
2023-09-06 19:44:13 -04:00
parent 50b5c1a921
commit cd23ec1b80
5 changed files with 146 additions and 15 deletions

View File

@@ -74,13 +74,14 @@ pub mod messages {
OpenedTTY(u64),
ClosedTTY(u64),
SendTTYData(u64, Vec<u64>),
SendTTYData(u64, Vec<u8>),
UploadFileID(u64),
UploadFileStatus(u64, Vec<u64>),
StartDownloadFile(u64),
DownloadFileSegment(u64, u64, Vec<u64>),
StartDownloadFile(u64, u64),
GetDownloadFileStatus(u64, Vec<u64>),
DownloadFileSegment(u64, u64, Vec<u8>),
}
#[derive(Serialize_repr, Deserialize_repr, Debug, Clone, Copy)]