blob: a7781f12e244eae83328f6756b9d1e422e48fe2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
typedef struct {
char *name;
gint64 length;
GList *children;
guint index;
} trg_torrent_file_node;
typedef struct {
char *name;
trg_torrent_file_node *top_node;
gint64 total_length;
} trg_torrent_file;
void trg_torrent_file_free(trg_torrent_file * t);
trg_torrent_file *trg_parse_torrent_file(const gchar *filename);
|