Ignore:
Timestamp:
Dec 14, 2010, 6:33:48 PM (11 years ago)
Author:
charles
Message:

(trunk libT) #3242 "use added.f's 'connectable' flag" -- added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.h

    r11295 r11532  
    3939typedef struct tr_peerMgr tr_peerMgr;
    4040
     41/* added_f's bitwise-or'ed flags */
    4142enum
    4243{
    43     /* corresponds to ut_pex's added.f flags */
     44    /* true if the peer supports encryption */
    4445    ADDED_F_ENCRYPTION_FLAG = 1,
    4546
    46     /* corresponds to ut_pex's added.f flags */
     47    /* true if the peer is a seed or partial seed */
    4748    ADDED_F_SEED_FLAG = 2,
     49
     50    /* true if the peer supports uTP */
     51    ADDED_F_UTP_FLAGS = 4,
     52
     53    /* true if the peer has holepunch support */
     54    ADDED_F_HOLEPUNCH = 8,
     55
     56    /* true if the peer telling us about this peer
     57     * initiated the connection (implying that it is connectible) */
     58   ADDED_F_CONNECTABLE = 16
    4859};
    4960
Note: See TracChangeset for help on using the changeset viewer.