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/port-forwarding.h

    r7151 r7385  
    3434typedef struct tr_shared tr_shared;
    3535
    36 tr_shared* tr_sharedInit(         tr_handle *,
    37                               int isEnabled,
    38                               int publicPort );
     36tr_shared* tr_sharedInit( tr_session*, tr_bool isEnabled, tr_bool publicPort );
    3937
    4038void       tr_sharedShuttingDown( tr_shared * );
    4139
    42 void       tr_sharedSetPort(         tr_shared *,
    43                                  int publicPort );
     40void       tr_sharedSetPort( tr_shared *, tr_port publicPort );
    4441
    45 void       tr_sharedTraversalEnable(         tr_shared *,
    46                                          int isEnabled );
     42void       tr_sharedTraversalEnable( tr_shared *, tr_bool isEnabled );
    4743
    48 int        tr_sharedGetPeerPort( const tr_shared * s );
     44tr_port    tr_sharedGetPeerPort( const tr_shared * s );
    4945
    50 int        tr_sharedTraversalIsEnabled( const tr_shared * s );
     46tr_bool    tr_sharedTraversalIsEnabled( const tr_shared * s );
    5147
    5248int        tr_sharedTraversalStatus( const tr_shared * );
Note: See TracChangeset for help on using the changeset viewer.