diff options
Diffstat (limited to 'src/utils.hpp')
-rw-r--r-- | src/utils.hpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/utils.hpp b/src/utils.hpp index ee5f7c9..23f767d 100644 --- a/src/utils.hpp +++ b/src/utils.hpp @@ -48,28 +48,27 @@ struct display_settings_t { std::string strprintf(const char* fmt, ...); -void printbuf(const std::string& header, +void printfig(const std::string& header, const display_settings_t &disp, uint8_t* buffer, size_t size, const std::string& desc="", const std::string& value=""); -void printfig(const std::string& header, - const display_settings_t &disp, - uint8_t* buffer, - size_t size, +void printbuf(const std::string& header, + int indent, + uint8_t* buffer=nullptr, + size_t size=0, const std::string& desc="", const std::string& value=""); void printbuf(const std::string& header, - int indent, + const display_settings_t &disp, uint8_t* buffer, size_t size, const std::string& desc="", const std::string& value=""); -void printbuf(const std::string& header, int indent = 0); void printvalue(const std::string& header, int indent = 0, |