more init handle

This commit is contained in:
2022-10-06 22:00:06 +02:00
parent 6d4ee7de42
commit bd0c45f885
3 changed files with 67 additions and 4 deletions

View File

@@ -42,9 +42,9 @@ enum _PacketType : uint8_t {
// tell the other side you want to start a FT
// TODO: might use id layer instead. with it, it would look similar to friends_ft
// - 1 byte (file_kind)
// - X bytes (file_kind dependent id, differnt sizes)
// - 8 bytes (data size, can be 0 if unknown, BUT files have to be atleast 1 byte)
// - 1 byte (temporary_file_tf_id, for this peer only, technically just a prefix to distinguish between simultainious fts)
// - X bytes (file_kind dependent id, differnt sizes)
FT1_INIT,
// acknowlage init (like an accept)