Files
rtorrent/src/utils/base64.h
T
kannibalox 9f48226663 Add JSON-RPC capability
Inline nlohmann/json for the JSON parsing itself, and handle requests
with the same SCGI interface as XML-RPC.

Based off the work in https://github.com/jesec/rtorrent
2025-01-20 12:31:04 +01:00

16 lines
272 B
C++

#ifndef RTORRENT_UTILS_BASE64_H
#define RTORRENT_UTILS_BASE64_H
#include <string>
#include <torrent/exceptions.h>
namespace utils {
std::string remove_newlines(const std::string& str);
std::string decode_base64(const std::string& input);
} // namespace utils
#endif