Ignore:
Timestamp:
Dec 14, 2008, 11:21:11 AM (13 years ago)
Author:
charles
Message:

(trunk libT) more semantic cleanup: tr_handle->tr_session, int->tr_bool, int->tr_port

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/trevent.h

    r7151 r7385  
    2424**/
    2525
    26 void      tr_eventInit( struct tr_handle * tr_handle );
     26void      tr_eventInit( tr_session * );
    2727
    28 void      tr_eventClose( struct tr_handle * tr_handle );
     28void      tr_eventClose( tr_session * );
    2929
    30 struct event_base * tr_eventGetBase( struct tr_handle * tr_handle );
     30struct event_base * tr_eventGetBase( tr_session * );
    3131
    3232
     
    3838 * Otherwise, it's called again after the same interval.
    3939 */
    40 tr_timer* tr_timerNew(
    41     struct tr_handle *               handle,
    42     int                 func( void * user_data ),
    43     void *                           user_data,
    44     uint64_t
    45                                      timeout_milliseconds );
     40tr_timer* tr_timerNew( tr_session * handle,
     41                       int func( void * user_data ),
     42                       void * user_data,
     43                       uint64_t timeout_milliseconds );
    4644
    4745/**
     
    5149
    5250
    53 int       tr_amInEventThread( struct tr_handle * handle );
     51int       tr_amInEventThread( tr_session * );
    5452
    55 void      tr_runInEventThread( struct tr_handle *       handle,
    56                                void               func( void* ),
    57                                void *                  user_data );
     53void      tr_runInEventThread( tr_session * session,
     54                               void         func( void* ),
     55                               void       * user_data );
    5856
    5957#endif
Note: See TracChangeset for help on using the changeset viewer.