1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-30 19:46:56 +00:00
transmission/gtk/tracker-list.h

26 lines
791 B
C
Raw Normal View History

#ifndef TRACKER_LIST_H
#define TRACKER_LIST_H
#include <gtk/gtk.h>
#include <libtransmission/transmission.h>
void tracker_list_set_torrent( GtkWidget*, int torrentId );
void tracker_list_clear( GtkWidget* );
GtkWidget* tracker_list_new( tr_session*, int torrentId, gboolean isNew );
/**
* @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,
int * trackerCount );
void tracker_list_add_trackers( GtkWidget * list,
const tr_tracker_info * trackers,
int trackerCount );
#endif