2008-06-01 05:36:23 +00:00
|
|
|
#ifndef TRACKER_LIST_H
|
|
|
|
#define TRACKER_LIST_H
|
|
|
|
|
2008-10-31 18:25:21 +00:00
|
|
|
#include <gtk/gtk.h>
|
2008-06-01 05:36:23 +00:00
|
|
|
#include "tr-torrent.h"
|
|
|
|
|
2008-09-23 19:11:04 +00:00
|
|
|
GtkWidget* tracker_list_new( TrTorrent * gtor );
|
2008-06-02 15:07:26 +00:00
|
|
|
|
2008-06-01 05:36:23 +00:00
|
|
|
/**
|
|
|
|
* @return an array of tr_tracker_info's. It's the caller's responsibility
|
|
|
|
* to g_free() every announce in the array, then the array itself.
|
|
|
|
*/
|
|
|
|
tr_tracker_info* tracker_list_get_trackers( GtkWidget * list,
|
2008-10-02 15:29:45 +00:00
|
|
|
int * trackerCount );
|
|
|
|
|
|
|
|
void tracker_list_add_trackers( GtkWidget * list,
|
|
|
|
const tr_tracker_info * trackers,
|
|
|
|
int trackerCount );
|
2008-06-01 05:36:23 +00:00
|
|
|
|
|
|
|
#endif
|