From: alex <alex@infiniteadaptability.org>
Date: Mon, 6 Sep 2021 23:37:24 +0000 (-0700)
Subject: updated using git-ex
X-Git-Url: http://git.infiniteadaptability.org/?a=commitdiff_plain;h=d6ca75c34db8046c059eb221d5ee441ea02f7ebb;p=seeder

updated using git-ex
---

diff --git a/todo b/todo
index 139224a..69a2da7 100644
--- a/todo
+++ b/todo
@@ -16,17 +16,14 @@ Resources:
 	-https://doc.libsodium.org/
 
 To Do:
+*hashing/cryptography
 -bencoding/decoding
-	-might not need decoding?
 -file system
 	-open/close
 	-creating torrents
 	-traverse directories
 -networking
 	-tcp/udp support
--hashing/cryptography
-	-find out which algorithms used in protocol
-	-lightweight library
 -architecture
 	-epoll
 	-daemonize
@@ -35,8 +32,8 @@ To Do:
 	-threads
 		-adding torrents
 		-generating pieces/doing hashing
-		-network tread(s)
-		-logging 
+		-network thread(s)
+		*logging 
 -considerations
 	-byte order issues?
 	-multiple protocols same socket?
@@ -56,19 +53,22 @@ To Do:
 
 Stage 0:
 *basic structure
--update logging
-	-timing
-	-threadid
-	-fix va_args problem
-		-pass va_list as parameter to log_message?
-		-would have to modify declaration of log_message
+*update logging
 -global variables
 	-torrents
-	-options
+	*options
 	-peers
+	-add queue
+		-no, run each directory in torrents through nftw
 -setup watches
 	*add option to watch directories
 	*add option for worker_threads [default=ncores]
+	-add default watch directories
+	-foreach watch directory
+		-walk each tree
+		-add each file to add queue
+			-check for duplicates
+		-add pointer to struct file to torrent
 	-figure out files organization
 		-store in files object
 		-store inside respective struct torrent