aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.hpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-04-08 14:59:02 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-04-08 14:59:02 +0200
commit1c136653da2a89c69e5f64101eae92b3faaed260 (patch)
treedfe39449204621c5e9981026159c1cd15b8c7b7e /src/utils.hpp
parent7c51df4e6f13b7c85300e2da2b9759adee671eae (diff)
downloadetisnoop-1c136653da2a89c69e5f64101eae92b3faaed260.tar.gz
etisnoop-1c136653da2a89c69e5f64101eae92b3faaed260.tar.bz2
etisnoop-1c136653da2a89c69e5f64101eae92b3faaed260.zip
Fix FIG completeness calculation, add length histogramnext
Diffstat (limited to 'src/utils.hpp')
-rw-r--r--src/utils.hpp13
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,