(trunk) minor transmission.h API cleanup.

1. remove tr_sessionGetActiveTorrentCount()
2. make tr_sessionCountTorrents() package-visible instead of public.
3. make tr_torrentGetActivity() private instead of public.
This commit is contained in:
Charles Kerr
2010-04-29 23:08:11 +00:00
parent 31f4d24004
commit d384b38f07
8 changed files with 39 additions and 35 deletions

View File

@@ -173,7 +173,7 @@ getTorrents( tr_session * session,
else /* all of them */
{
tr_torrent * tor = NULL;
const int n = tr_sessionCountTorrents( session );
const int n = tr_sessionCountTorrents( session );
torrents = tr_new0( tr_torrent *, n );
while( ( tor = tr_torrentNext( session, tor ) ) )
torrents[torrentCount++] = tor;