Ignore:
Timestamp:
Jan 2, 2009, 4:47:37 AM (12 years ago)
Author:
charles
Message:

(trunk libT) make tr_isAddress() and tr_isDirection() inline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.h

    r7468 r7574  
    8787
    8888void tr_suspectAddress( const tr_address * a, const char * source );
    89 tr_bool tr_isAddress( const tr_address * a );
     89
     90#define tr_isAddress(a) ( ((a)!=NULL) && ( (a)->type==TR_AF_INET || (a)->type==TR_AF_INET6 ) )
    9091
    9192typedef struct tr_net_af_support
Note: See TracChangeset for help on using the changeset viewer.