mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(trunk libT) #117 "UDP tracker protocol support" -- working implementation; needs testing and valgrinding and review.
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user