From ddfc1b38d7bb5cc607afc7fadc6374911f5a9e60 Mon Sep 17 00:00:00 2001 From: Markus Grüneis Date: Wed, 17 Feb 2010 21:40:54 +0000 Subject: 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" --- src/buffer.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/buffer.h') 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 * * 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_; -- cgit v1.2.3