summaryrefslogtreecommitdiff
path: root/include/services.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/services.h')
-rw-r--r--include/services.h43
1 files changed, 24 insertions, 19 deletions
diff --git a/include/services.h b/include/services.h
index 2fc7280b6..6b5832344 100644
--- a/include/services.h
+++ b/include/services.h
@@ -1,16 +1,23 @@
/*
+ * Anope IRC Services
*
- * (C) 2003-2016 Anope Team
- * Contact us at team@anope.org
+ * Copyright (C) 2003-2016 Anope Team <team@anope.org>
*
- * Please read COPYING and README for further details.
+ * This file is part of Anope. Anope 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, version 2.
*
- * Based on the original code of Epona by Lara.
- * Based on the original code of Services by Andy Church.
+ * 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 see <http://www.gnu.org/licenses/>.
*/
-#ifndef SERVICES_H
-#define SERVICES_H
+#pragma once
#include "sysconf.h"
@@ -19,12 +26,10 @@
#include <cstdio>
#include <cstdlib>
#include <cstdarg>
+#include <cstdint>
#include <stdexcept>
#include <string.h>
-#if HAVE_STRINGS_H
-# include <strings.h>
-#endif
#ifndef _WIN32
#include <unistd.h>
@@ -43,19 +48,13 @@
#include <set>
#include <algorithm>
#include <iterator>
+#include <regex>
+#include <stack>
#include "defs.h"
#define _(x) x
-#ifdef __GXX_EXPERIMENTAL_CXX0X__
-# define anope_override override
-# define anope_final final
-#else
-# define anope_override
-# define anope_final
-#endif
-
#ifndef _WIN32
# define DllExport
# define CoreExport
@@ -65,4 +64,10 @@
# include "anope_windows.h"
#endif
-#endif // SERVICES_H
+#ifndef DEBUG_BUILD
+# define NDEBUG
+#endif
+#include <assert.h>
+
+#define anope_abstract = 0
+