(trunk libT) #117 "UDP tracker protocol support" -- working implementation; needs testing and valgrinding and review.

This commit is contained in:
Jordan Lee
2011-03-13 00:18:11 +00:00
parent 63917c907b
commit 3cfef5eded
14 changed files with 890 additions and 6 deletions

View File

@@ -67,7 +67,10 @@ static inline void* tr_ptrArrayBack( tr_ptrArray * array )
void tr_ptrArrayErase( tr_ptrArray * t, int begin, int end );
static inline void tr_ptrArrayRemove( tr_ptrArray * t, int pos )
{
tr_ptrArrayErase( t, pos, pos+1 );
}
/** @brief Peek at the array pointer and its size, for easy iteration */
void** tr_ptrArrayPeek( tr_ptrArray * array, int * size );