diff options
author | shennetsind <ind@henn.et> | 2014-02-02 15:02:14 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-02-02 15:02:14 -0200 |
commit | d33469689ea8e671fa0d525d54bce6932dfe9107 (patch) | |
tree | f6fc609df3a6d723f6390a69c8e8174e6a242b72 /src/common/HPMi.h | |
parent | 8a05e611a71168cccac282777aa1719a46f574d0 (diff) | |
download | hercules-d33469689ea8e671fa0d525d54bce6932dfe9107.tar.gz hercules-d33469689ea8e671fa0d525d54bce6932dfe9107.tar.bz2 hercules-d33469689ea8e671fa0d525d54bce6932dfe9107.tar.xz hercules-d33469689ea8e671fa0d525d54bce6932dfe9107.zip |
Introducing HPM Datacheck
http://hercules.ws/board/topic/4283-introducing-hpm-datacheck/
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/common/HPMi.h')
-rw-r--r-- | src/common/HPMi.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/common/HPMi.h b/src/common/HPMi.h index fdb6ccf52..b33ad955c 100644 --- a/src/common/HPMi.h +++ b/src/common/HPMi.h @@ -1,8 +1,8 @@ // Copyright (c) Hercules Dev Team, licensed under GNU GPL. // See the LICENSE file -#ifndef _HPMi_H_ -#define _HPMi_H_ +#ifndef _COMMON_HPMi_H_ +#define _COMMON_HPMi_H_ #include "../common/cbasetypes.h" #include "../common/core.h" @@ -20,7 +20,7 @@ struct map_session_data; #define HPExport #endif -#ifndef _SHOWMSG_H_ +#ifndef _COMMON_SHOWMSG_H_ HPExport void (*ShowMessage) (const char *, ...); HPExport void (*ShowStatus) (const char *, ...); HPExport void (*ShowSQL) (const char *, ...); @@ -45,6 +45,11 @@ struct hplugin_info { char* req_version; }; +struct s_HPMDataCheck { + char *name; + unsigned int size; +}; + HPExport void *(*import_symbol) (char *name, unsigned int pID); HPExport Sql *mysql_handle; @@ -187,8 +192,8 @@ HPExport struct HPMi_interface { /* pc group permission */ void (*addPCGPermission) (unsigned int pluginID, char *name, unsigned int *mask); } HPMi_s; -#ifndef _HPM_H_ +#ifndef _COMMON_HPM_H_ HPExport struct HPMi_interface *HPMi; #endif -#endif /* _HPMi_H_ */ +#endif /* _COMMON_HPMi_H_ */ |