home
/
projects
/
seeder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e3ac4d
)
...
author
alex
<
[email protected]
>
Wed, 8 Sep 2021 23:37:02 +0000
(16:37 -0700)
committer
alex
<
[email protected]
>
Wed, 8 Sep 2021 23:37:02 +0000
(16:37 -0700)
inc/torrent.h
patch
|
blob
|
history
src/add.c
patch
|
blob
|
history
diff --git
a/inc/torrent.h
b/inc/torrent.h
index 19963b0ca44caaf166b9898da7570eb85048e1db..855f625030474713a33790c569c6aca4fe6a03c2 100644
(file)
--- a/
inc/torrent.h
+++ b/
inc/torrent.h
@@
-6,12
+6,14
@@
#include<string.h>
#include<file.h>
+#include<hashmap.h>
#include<tree.h>
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 d65c8ab1971f660167fd84e814695c969c698405..9b43c1d0091c7e45b66dbf3456752a5b2eeaa173 100644
(file)
--- 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;
}