diff options
author | Markus Grüneis <gimpf@gimpf.org> | 2010-02-17 21:40:54 +0000 |
---|---|---|
committer | Markus Grüneis <gimpf@gimpf.org> | 2010-02-17 21:40:54 +0000 |
commit | ddfc1b38d7bb5cc607afc7fadc6374911f5a9e60 (patch) | |
tree | 3bd613880e1a85b146e7a4fe296e3db185757c02 /src/buffer.h | |
parent | fixed init.d script Required-Start and Stop (diff) |
whitespace only change: unified formatting with "astyle --style=k/r --indent=spaces=2 --unpad-paren --add-brackets --align-pointer=type --keep-one-line-blocks --indent-col1-comments --lineend=linux --suffix=none --recursive"
Diffstat (limited to 'src/buffer.h')
-rw-r--r-- | src/buffer.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/buffer.h b/src/buffer.h index bbece3d..4dafd5e 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -11,7 +11,7 @@ * tunneling and relaying of packets of any protocol. * * - * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, + * Copyright (C) 2007-2009 Othmar Gsenger, Erwin Nindl, * Christian Pointner <satp@wirdorange.org> * * This file is part of Anytun. @@ -47,10 +47,10 @@ public: Buffer(u_int8_t* data, u_int32_t length, bool allow_realloc = true); Buffer(std::string hex_data, bool allow_realloc = true); virtual ~Buffer(); - Buffer(const Buffer &src); - void operator=(const Buffer &src); - bool operator==(const Buffer &cmp) const; - Buffer operator^(const Buffer &xor_by) const; + Buffer(const Buffer& src); + void operator=(const Buffer& src); + bool operator==(const Buffer& cmp) const; + Buffer operator^(const Buffer& xor_by) const; u_int32_t getLength() const; virtual void setLength(u_int32_t new_length); @@ -67,7 +67,7 @@ public: protected: virtual void reinit() {}; - u_int8_t *buf_; + u_int8_t* buf_; u_int32_t length_; u_int32_t real_length_; bool allow_realloc_; |