summaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-02-27 22:24:52 +0000
committerChristian Pointner <equinox@anytun.org>2008-02-27 22:24:52 +0000
commit2f9b0dc4a80923c663c44d7af2f0311d225f0949 (patch)
tree771199288f80e42441977d96309a87505bb0c86c /buffer.h
parentfixed mux autodetect (diff)
added command line parameter for master key and salt
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h3
1 files changed, 2 insertions, 1 deletions
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;