Ignore:
Timestamp:
Jun 19, 2010, 2:33:10 PM (11 years ago)
Author:
charles
Message:

(trunk) #3256 "libtransmission/publish.[ch] should be replaced" -- apply publish.diff for 2.10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.h

    r10664 r10800  
    1919
    2020#include "transmission.h"
    21 #include "publish.h"
    2221
    2322struct tr_announcer;
     
    5655tr_tracker_event;
    5756
     57typedef void tr_tracker_callback ( tr_torrent              * tor,
     58                                   const tr_tracker_event  * event,
     59                                   void                    * client_data );
     60
    5861/**
    5962***  Session ctor/dtor
     
    6871**/
    6972
    70 struct tr_torrent_tiers * tr_announcerAddTorrent( struct tr_announcer  *,
    71                                                   tr_torrent           * );
     73struct tr_torrent_tiers * tr_announcerAddTorrent( struct tr_announcer *,
     74                                                  tr_torrent          * torrent,
     75                                                  tr_tracker_callback * cb,
     76                                                  void                * cbdata );
    7277
    7378tr_bool tr_announcerHasBacklog( const struct tr_announcer * );
    7479
    7580void tr_announcerResetTorrent( struct tr_announcer*, tr_torrent* );
    76 
    77 tr_publisher_tag tr_announcerSubscribe( struct tr_torrent_tiers  * tiers,
    78                                         tr_delivery_func           func,
    79                                         void                     * userData );
    80 
    81 void tr_announcerUnsubscribe( struct tr_torrent_tiers  * tiers,
    82                               tr_publisher_tag           tag );
    8381
    8482void tr_announcerRemoveTorrent( struct tr_announcer * ,
Note: See TracChangeset for help on using the changeset viewer.