From: alex Date: Wed, 8 Sep 2021 23:37:02 +0000 (-0700) Subject: ... X-Git-Url: http://git.infiniteadaptability.org/?a=commitdiff_plain;h=9a5798b2769bb3b920a97c844439f9b35d549e7e;p=seeder ... --- diff --git a/inc/torrent.h b/inc/torrent.h index 19963b0..855f625 100644 --- a/inc/torrent.h +++ b/inc/torrent.h @@ -6,12 +6,14 @@ #include #include +#include #include struct torrent { char *root; char *name; struct tree *file_tree; + struct hash_map *files; }; extern struct torrent **torrents; diff --git a/src/add.c b/src/add.c index d65c8ab..9b43c1d 100644 --- a/src/add.c +++ b/src/add.c @@ -12,6 +12,8 @@ // return 1; //} +static struct hash_map *add_queue; + void *add(void *p) { return NULL; }