|
Monero
|
TODO: (mj-xmr) This will be reduced in an another PR. More...
Namespaces | |
| namespace | file_io_utils |
| namespace | fnv |
| namespace | math_helper |
| namespace | misc_utils |
| namespace | net_utils |
| namespace | json_rpc |
| namespace | levin |
| namespace | profile_tools |
| namespace | serialization |
| namespace | string_encoding |
| namespace | string_tools |
| namespace | debug |
Classes | |
| struct | release_byte_slice |
| struct | release_byte_buffer |
| Frees ref count + buffer allocated internally by byte_buffer. More... | |
| class | byte_slice |
| class | byte_stream |
| A partial drop-in replacement for std::ostream. More... | |
| class | async_stdin_reader |
| class | async_console_handler |
| class | command_handler |
| class | console_handlers_binder |
| struct | to_hex |
| struct | from_hex |
| Convert hex in UTF8 encoding to binary. More... | |
| struct | from_hex_locale |
| Convert hex in current C locale encoding to binary. More... | |
| class | mlocker |
| struct | mlocked |
| class | http_server_impl_base |
| class | global_regexp_critical_section |
| class | span |
| Non-owning sequence of data. Does not deep copy. More... | |
| struct | simple_event |
| class | critical_section |
| class | critical_region_t |
| class | wipeable_string |
| struct | byte_slice_data |
Typedefs | |
| using | byte_buffer = std::unique_ptr<std::uint8_t, release_byte_buffer> |
| Alias for a buffer that has space for a byte_slice ref count. | |
| template<class T, size_t N> | |
| using | mlocked_arr = mlocked<std::array<T, N>> |
Functions | |
| byte_buffer | byte_buffer_resize (byte_buffer buf, std::size_t length) noexcept |
| byte_buffer | byte_buffer_increase (byte_buffer buf, std::size_t current, std::size_t more) |
| void | PutReserve (byte_stream &dest, const std::size_t length) |
| Compatability/optimization for rapidjson. | |
| void | PutUnsafe (byte_stream &dest, const std::uint8_t ch) |
| Compatability/optimization for rapidjson. | |
| void | PutN (byte_stream &dest, const std::uint8_t ch, const std::size_t count) |
| Compability/optimization for rapidjson. | |
| template<class t_server> | |
| bool | empty_commands_handler (t_server *psrv, const std::string &command) |
| template<class t_server, class t_handler> | |
| bool | start_default_console (t_server *ptsrv, t_handler handlr, std::function< std::string(void)> prompt, const std::string &usage="") |
| template<class t_server, class t_handler> | |
| bool | start_default_console (t_server *ptsrv, t_handler handlr, const std::string &prompt, const std::string &usage="") |
| template<class t_server> | |
| bool | start_default_console (t_server *ptsrv, const std::string &prompt, const std::string &usage="") |
| template<class t_server, class t_handler> | |
| bool | no_srv_param_adapter (t_server *ptsrv, const std::string &cmd, t_handler handlr) |
| template<class t_server, class t_handler> | |
| bool | run_default_console_handler_no_srv_param (t_server *ptsrv, t_handler handlr, std::function< std::string(void)> prompt, const std::string &usage="") |
| template<class t_server, class t_handler> | |
| bool | run_default_console_handler_no_srv_param (t_server *ptsrv, t_handler handlr, const std::string &prompt, const std::string &usage="") |
| template<class t_server, class t_handler> | |
| bool | start_default_console_handler_no_srv_param (t_server *ptsrv, t_handler handlr, std::function< std::string(void)> prompt, const std::string &usage="") |
| template<class t_server, class t_handler> | |
| bool | start_default_console_handler_no_srv_param (t_server *ptsrv, t_handler handlr, const std::string &prompt, const std::string &usage="") |
| template<typename T> | |
| T & | unwrap (mlocked< T > &src) |
| template<typename T> | |
| const T & | unwrap (mlocked< T > const &src) |
| template<typename T> | |
| void | serialize_default (const T &t, T v) |
| template<typename T> | |
| void | serialize_default (T &t, T v) |
| template<typename T> | |
| constexpr span< const typename T::value_type > | to_span (const T &src) |
| template<typename T> | |
| constexpr span< typename T::value_type > | to_mut_span (T &src) |
| template<typename T> | |
| span< const std::uint8_t > | to_byte_span (const span< const T > src) noexcept |
| template<typename T> | |
| constexpr span< std::uint8_t > | to_mut_byte_span (T &src) |
| template<typename T> | |
| span< const std::uint8_t > | as_byte_span (const T &src) noexcept |
| template<typename T> | |
| span< std::uint8_t > | as_mut_byte_span (T &src) noexcept |
| template<typename T, typename U> | |
| span< const T > | strspan (const U &s) noexcept |
| make a span from a std::string | |
| bool | is_stdout_a_tty () |
| static bool | is_nocolor () |
| void | set_console_color (int color, bool bright) |
| void | reset_console_color () |
Variables | |
| static const global_regexp_critical_section | gregexplock |
| unsigned int | g_test_dbg_lock_sleep = 0 |
TODO: (mj-xmr) This will be reduced in an another PR.
| using epee::byte_buffer = std::unique_ptr<std::uint8_t, release_byte_buffer> |
Alias for a buffer that has space for a byte_slice ref count.
| using epee::mlocked_arr = mlocked<std::array<T, N>> |
| byte_buffer epee::byte_buffer_increase | ( | byte_buffer | buf, |
| std::size_t | current, | ||
| std::size_t | more ) |
Increase buf of size current by more bytes.
| std::range_error | if current + more exceeds size_t bounds. |
|
noexcept |
| bool epee::empty_commands_handler | ( | t_server * | psrv, |
| const std::string & | command ) |
|
static |
| bool epee::is_stdout_a_tty | ( | ) |
| bool epee::no_srv_param_adapter | ( | t_server * | ptsrv, |
| const std::string & | cmd, | ||
| t_handler | handlr ) |
|
inline |
Compability/optimization for rapidjson.
|
inline |
Compatability/optimization for rapidjson.
|
inline |
Compatability/optimization for rapidjson.
| void epee::reset_console_color | ( | ) |
| bool epee::run_default_console_handler_no_srv_param | ( | t_server * | ptsrv, |
| t_handler | handlr, | ||
| const std::string & | prompt, | ||
| const std::string & | usage = "" ) |
| bool epee::run_default_console_handler_no_srv_param | ( | t_server * | ptsrv, |
| t_handler | handlr, | ||
| std::function< std::string(void)> | prompt, | ||
| const std::string & | usage = "" ) |
| void epee::set_console_color | ( | int | color, |
| bool | bright ) |
| bool epee::start_default_console | ( | t_server * | ptsrv, |
| const std::string & | prompt, | ||
| const std::string & | usage = "" ) |
| bool epee::start_default_console | ( | t_server * | ptsrv, |
| t_handler | handlr, | ||
| const std::string & | prompt, | ||
| const std::string & | usage = "" ) |
| bool epee::start_default_console | ( | t_server * | ptsrv, |
| t_handler | handlr, | ||
| std::function< std::string(void)> | prompt, | ||
| const std::string & | usage = "" ) |
| bool epee::start_default_console_handler_no_srv_param | ( | t_server * | ptsrv, |
| t_handler | handlr, | ||
| const std::string & | prompt, | ||
| const std::string & | usage = "" ) |
| bool epee::start_default_console_handler_no_srv_param | ( | t_server * | ptsrv, |
| t_handler | handlr, | ||
| std::function< std::string(void)> | prompt, | ||
| const std::string & | usage = "" ) |
make a span from a std::string
| unsigned int epee::g_test_dbg_lock_sleep = 0 |
|
static |