From 2f9b0dc4a80923c663c44d7af2f0311d225f0949 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 27 Feb 2008 22:24:52 +0000 Subject: added command line parameter for master key and salt --- buffer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'buffer.h') diff --git a/buffer.h b/buffer.h index e22c96a..f2078be 100644 --- a/buffer.h +++ b/buffer.h @@ -43,7 +43,7 @@ public: Buffer(bool allow_realloc = true); Buffer(u_int32_t length, bool allow_realloc = true); Buffer(u_int8_t* data, u_int32_t length, bool allow_realloc = true); - Buffer(std::string data, bool allow_realloc = true); + Buffer(std::string hex_data, bool allow_realloc = true); virtual ~Buffer(); Buffer(const Buffer &src); void operator=(const Buffer &src); @@ -56,6 +56,7 @@ public: u_int8_t& operator[](u_int32_t index); u_int8_t operator[](u_int32_t index) const; std::string getHexDump() const; + std::string getHexDumpOneLine() const; bool isReallocAllowed() const; -- cgit v1.2.3