mirror of
https://github.com/transmission/transmission.git
synced 2026-02-15 07:26:49 +00:00
* refactor: replace TR_RPC_SESSION_ID_HEADER macro with TrRpcSessionIdHeader constant refactor: replace TR_RPC_RPC_VERSION_HEADER macro with TrRpcVersionHeader constant * refactor: remove macro TR_DEFAULT_RPC_PORT_STR * refactor: remove macro TR_DEFAULT_PEER_PORT_STR * refactor: remove macro TR_DEFAULT_PEER_LIMIT_GLOBAL_STR * refactor: remove macro TR_DEFAULT_PEER_LIMIT_TORRENT_STR * refactor: remove macro TR_DEFAULT_PEER_SOCKET_TOS_STR * refactor: replace DEFAULT_BLOCKLIST_FILENAME macro with TrDefaultBlocklistFilename constant * refactor: rename TrHttpServerDefaultBasePath to TrDefaultHttpServerBasePath for consistency with other defaults * refactor: group constants together near the top of transmission.h * refactor: hardcode string lengths to avoid FTBFS on older C++17 compilers * refactor: move macros to the tr_getopt clients * refactor: explicitly specify the parameter index to avoid passing in TrRpcSessionIdHeader twice * refactor: add an error message to new static_asserts