Ignore:
Timestamp:
Apr 22, 2006, 9:39:17 PM (16 years ago)
Author:
titer
Message:

Clean up, perform all DNS resolutions in a common thread. This should
fix the remaining issues with many open torrents

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.h

    r236 r237  
    2121 *****************************************************************************/
    2222
     23
    2324/***********************************************************************
    2425 * DNS resolution
    2526 **********************************************************************/
    26 
    27 /* Synchronous version: only works with character strings representing
    28    numbers expressed in the Internet standard `.' notation */
    2927int tr_netResolve( char *, struct in_addr * );
    3028
    31 /* Asynchronous version */
    3229#define TR_RESOLVE_WAIT  0
    3330#define TR_RESOLVE_ERROR 1
    3431#define TR_RESOLVE_OK    2
    3532typedef struct tr_resolve_s tr_resolve_t;
     33void           tr_netResolveThreadInit();
     34void           tr_netResolveThreadClose();
    3635tr_resolve_t * tr_netResolveInit( char * );
    3736int            tr_netResolvePulse( tr_resolve_t *, struct in_addr * );
Note: See TracChangeset for help on using the changeset viewer.