summaryrefslogtreecommitdiff
path: root/src/common/HPM.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2015-01-18 13:17:51 -0200
committershennetsind <ind@henn.et>2015-01-18 13:17:51 -0200
commit57789fb70b899eda61206a59283e1a849e544397 (patch)
treee90451205624140f8e47628f39fb2a6a9ec4e30b /src/common/HPM.c
parentfb5d412a6a9813e1486b7a411ec6b5297209ca51 (diff)
downloadhercules-57789fb70b899eda61206a59283e1a849e544397.tar.gz
hercules-57789fb70b899eda61206a59283e1a849e544397.tar.bz2
hercules-57789fb70b899eda61206a59283e1a849e544397.tar.xz
hercules-57789fb70b899eda61206a59283e1a849e544397.zip
Implementing nullpo interface for plugin use
As proposed in pull request #361 Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common/HPM.c')
-rw-r--r--src/common/HPM.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/HPM.c b/src/common/HPM.c
index c361ad31c..6d9a2cb6b 100644
--- a/src/common/HPM.c
+++ b/src/common/HPM.c
@@ -23,6 +23,7 @@
#include "../common/sysinfo.h"
#include "../common/timer.h"
#include "../common/utils.h"
+#include "../common/nullpo.h"
#ifndef WIN32
# include <unistd.h>
@@ -784,6 +785,7 @@ void hplugins_share_defaults(void) {
HPM->share(&SERVER_TYPE,"SERVER_TYPE");
HPM->share(DB, "DB");
HPM->share(HPMiMalloc, "iMalloc");
+ HPM->share(nullpo,"nullpo");
/* socket */
HPM->share(sockt,"sockt");
/* strlib */