summaryrefslogtreecommitdiff
path: root/src/char/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-05 22:23:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-05 22:26:20 +0300
commit51fb74519d4c60fdae40072e8fa6c1906c616a05 (patch)
tree6e2837110fee9d4294fdacb20ff5f5c28933175a /src/char/init.c
parent6255d8b62d2c06ae5611c5e10b40209a75078552 (diff)
downloadevol-hercules-51fb74519d4c60fdae40072e8fa6c1906c616a05.tar.gz
evol-hercules-51fb74519d4c60fdae40072e8fa6c1906c616a05.tar.bz2
evol-hercules-51fb74519d4c60fdae40072e8fa6c1906c616a05.tar.xz
evol-hercules-51fb74519d4c60fdae40072e8fa6c1906c616a05.zip
Add empty char server plugin.
Diffstat (limited to 'src/char/init.c')
-rw-r--r--src/char/init.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/char/init.c b/src/char/init.c
new file mode 100644
index 0000000..b1f31f2
--- /dev/null
+++ b/src/char/init.c
@@ -0,0 +1,37 @@
+// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// Copyright (c) 2014 Evol developers
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "../../../common/HPMi.h"
+#include "../../../common/malloc.h"
+#include "../../../common/mmo.h"
+#include "../../../common/socket.h"
+#include "../../../common/strlib.h"
+
+#include "../../../common/HPMDataCheck.h" /* should always be the last file included! (if you don't make it last, it'll intentionally break compile time) */
+
+HPExport struct hplugin_info pinfo =
+{
+ "evol_char",
+ SERVER_TYPE_CHAR,
+ "0.1",
+ HPM_VERSION
+};
+
+/* run when server starts */
+HPExport void plugin_init (void) {
+ /* core interfaces */
+ iMalloc = GET_SYMBOL("iMalloc");
+}
+
+HPExport void server_preinit (void) {
+}
+
+HPExport void server_online (void) {
+}
+
+HPExport void plugin_final (void) {
+}