summaryrefslogtreecommitdiff
path: root/src/common/HPMi.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-10 16:00:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-15 19:26:02 +0300
commit66ccb5adb45411adaef7ab45d2dc7fe1741ebdcc (patch)
treea96ac8464a42c08ce2e2d66310633a1fa4da9065 /src/common/HPMi.h
parent8c51c16bd34c2dd453bafc588e619d0b64ac0276 (diff)
downloadhercules-66ccb5adb45411adaef7ab45d2dc7fe1741ebdcc.tar.gz
hercules-66ccb5adb45411adaef7ab45d2dc7fe1741ebdcc.tar.bz2
hercules-66ccb5adb45411adaef7ab45d2dc7fe1741ebdcc.tar.xz
hercules-66ccb5adb45411adaef7ab45d2dc7fe1741ebdcc.zip
Add support for plugin options in map server config (logs.conf).
Diffstat (limited to 'src/common/HPMi.h')
-rw-r--r--src/common/HPMi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/HPMi.h b/src/common/HPMi.h
index 850f734ba..10a5ec082 100644
--- a/src/common/HPMi.h
+++ b/src/common/HPMi.h
@@ -89,6 +89,7 @@ enum HPluginConfType {
HPCT_CHAR, /* char-server.conf (char-server) */
HPCT_CHAR_INTER, /* inter-server.conf (char-server) */
HPCT_MAP_INTER, /* inter-server.conf (map-server) */
+ HPCT_LOG, /* logs.conf (map-server) */
HPCT_MAX,
};
@@ -169,6 +170,8 @@ enum HPluginConfType {
#define addCharInterConf(bcname,funcname) HPMi->addConf(HPMi->pid,HPCT_CHAR_INTER,bcname,funcname)
/* HPMi->addMapInter */
#define addMapInterConf(bcname,funcname) HPMi->addConf(HPMi->pid,HPCT_MAP_INTER,bcname,funcname)
+/* HPMi->addLog */
+#define addLogConf(bcname,funcname) HPMi->addConf(HPMi->pid,HPCT_LOG,bcname,funcname)
/* HPMi->addPCGPermission */
#define addGroupPermission(pcgname,maskptr) HPMi->addPCGPermission(HPMi->pid,pcgname,&maskptr)