* simplify the the choking intervals

* fix peer-mgr destructor bug
* send debugging messagese to TR_DEBUG_FD instead of the console
This commit is contained in:
Charles Kerr
2007-10-02 14:35:02 +00:00
parent 77d7cf76a1
commit f237bf7047
5 changed files with 73 additions and 64 deletions
+1
View File
@@ -21,6 +21,7 @@ typedef struct tr_ptrArray tr_ptrArray;
typedef void (*PtrArrayForeachFunc)(void *);
tr_ptrArray * tr_ptrArrayNew ( void );
tr_ptrArray * tr_ptrArrayDup ( tr_ptrArray* );
void tr_ptrArrayForeach ( tr_ptrArray*, PtrArrayForeachFunc func );
void tr_ptrArrayFree ( tr_ptrArray*, PtrArrayForeachFunc func );
void* tr_ptrArrayNth ( tr_ptrArray*, int n );