(trunk libT) #4048 "use bitsets instead of bitfield in tr_completion" -- done.

Excuse the sprawl. Much of this didn't fit into self-contained commits.
This commit is contained in:
Jordan Lee
2011-02-23 03:54:04 +00:00
parent 6754258823
commit 2b9db3c242
19 changed files with 813 additions and 655 deletions

View File

@@ -214,6 +214,10 @@ tr_bool tr_bencGetInt( const tr_benc * val, int64_t * setme );
@return TRUE if successful, or FALSE if the variant could not be represented as a string */
tr_bool tr_bencGetStr( const tr_benc * val, const char ** setme );
/** @brief Get a raw byte array from a variant object
@return TRUE if successful, or FALSE if the variant could not be represented as a raw byte array */
tr_bool tr_bencGetRaw( const tr_benc * val, const uint8_t ** setme_raw, size_t * setme_len );
/** @brief Get a boolean from a variant object
@return TRUE if successful, or FALSE if the variant could not be represented as a boolean */
tr_bool tr_bencGetBool( const tr_benc * val, tr_bool * setme );