summaryrefslogtreecommitdiff
path: root/src/net/vomit.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-05-12 18:13:28 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-05-12 18:13:28 -0700
commitfccd01bd0fba297531595b51ffb8db044ed6f22c (patch)
treec7878d86d6baf38b071aa7f9b95ce2136f246837 /src/net/vomit.cpp
parent794c162c9e92cbcdad73cb82f545876a47afae92 (diff)
downloadtmwa-fccd01bd0fba297531595b51ffb8db044ed6f22c.tar.gz
tmwa-fccd01bd0fba297531595b51ffb8db044ed6f22c.tar.bz2
tmwa-fccd01bd0fba297531595b51ffb8db044ed6f22c.tar.xz
tmwa-fccd01bd0fba297531595b51ffb8db044ed6f22c.zip
split out the horrible unchecked buffer accessors
Diffstat (limited to 'src/net/vomit.cpp')
-rw-r--r--src/net/vomit.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/net/vomit.cpp b/src/net/vomit.cpp
new file mode 100644
index 0000000..2057022
--- /dev/null
+++ b/src/net/vomit.cpp
@@ -0,0 +1,21 @@
+#include "vomit.hpp"
+// vomit.cpp - sickening socket buffer accessors
+//
+// Copyright © 2014 Ben Longbons <b.r.longbons@gmail.com>
+//
+// This file is part of The Mana World (Athena server)
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+#include "../poison.hpp"