mirror of
https://github.com/transmission/transmission.git
synced 2025-12-26 13:21:44 +00:00
(RPC) add utility arguments for torrent-info: sort by (activity|age|id|name|progress|ratio|state|tracker), filter by (active|all|downloading|paused|seeding)
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h> /* for size_t */
|
||||
#include <stdio.h> /* FILE* */
|
||||
#include <time.h> /* time_t* */
|
||||
|
||||
/***
|
||||
****
|
||||
@@ -219,6 +220,11 @@ void tr_set_compare( const void * a, size_t aCount,
|
||||
int tr_compareUint16( uint16_t a, uint16_t b );
|
||||
int tr_compareUint32( uint32_t a, uint32_t b );
|
||||
int tr_compareUint64( uint64_t a, uint64_t b );
|
||||
int tr_compareDouble( double a, double b );
|
||||
int tr_compareTime( time_t a, time_t b );
|
||||
|
||||
int tr_strcmp( const void * a, const void * b );
|
||||
int tr_strcasecmp( const char * a, const char * b );
|
||||
|
||||
void tr_sha1_to_hex( char * out, const uint8_t * sha1 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user