summaryrefslogtreecommitdiff
path: root/src/trg-file-parser.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-09 21:47:06 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-09 21:47:06 +0000
commitc0e12ac389135850dcd45ce108f5a6a0200ae03f (patch)
treee7ab9b938e2909f7a40d8fd34a476e301a511052 /src/trg-file-parser.h
parente1b13312f975f38d3d7437f28299912eff6947e0 (diff)
issue 174 - exec crash, issue 173 - files first update performance fixed.
Diffstat (limited to 'src/trg-file-parser.h')
-rw-r--r--src/trg-file-parser.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/trg-file-parser.h b/src/trg-file-parser.h
index 1d7e116..f2d6fb7 100644
--- a/src/trg-file-parser.h
+++ b/src/trg-file-parser.h
@@ -17,18 +17,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-typedef struct {
- char *name;
- gint64 length;
- GList *children;
- guint index;
- gpointer parent;
-} trg_torrent_file_node;
+#include "trg-files-tree.h"
typedef struct {
char *name;
- trg_torrent_file_node *top_node;
- gint64 total_length;
+ trg_files_tree_node *top_node;
} trg_torrent_file;
void trg_torrent_file_free(trg_torrent_file * t);