summaryrefslogtreecommitdiff
path: root/src/char/inter.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-08-26 01:38:26 +0200
committerGitHub <noreply@github.com>2019-08-26 01:38:26 +0200
commit29e6bbef1b7d4c2434cc6bc8e7a0226227ec6281 (patch)
tree2a87caab4d2a26e279af63dd02871f6553021449 /src/char/inter.h
parentdae5933998758c4fcf8a7dde452d34a3b8fd052c (diff)
parent0f5da8e9f5ef70c9d2e845c1e69e2b2024094ee9 (diff)
downloadhercules-29e6bbef1b7d4c2434cc6bc8e7a0226227ec6281.tar.gz
hercules-29e6bbef1b7d4c2434cc6bc8e7a0226227ec6281.tar.bz2
hercules-29e6bbef1b7d4c2434cc6bc8e7a0226227ec6281.tar.xz
hercules-29e6bbef1b7d4c2434cc6bc8e7a0226227ec6281.zip
Merge pull request #2522 from MishimaHaruna/remove-inter-roundtrips
Remove some round-trips to the inter-server
Diffstat (limited to 'src/char/inter.h')
-rw-r--r--src/char/inter.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/char/inter.h b/src/char/inter.h
index 94ee3ab60..f97c619c0 100644
--- a/src/char/inter.h
+++ b/src/char/inter.h
@@ -30,12 +30,6 @@
struct Sql; // common/sql.h
struct config_t; // common/conf.h
-struct WisData {
- int id, fd, count, len;
- int64 tick;
- unsigned char src[24], dst[24], msg[512];
-};
-
/**
* inter interface
**/
@@ -54,8 +48,6 @@ struct inter_interface {
int (*log) (char* fmt, ...);
int (*init_sql) (const char *file);
int (*mapif_init) (int fd);
- int (*check_ttl_wisdata_sub) (union DBKey key, struct DBData *data, va_list ap);
- int (*check_ttl_wisdata) (void);
int (*check_length) (int fd, int length);
int (*parse_frommap) (int fd);
void (*final) (void);
@@ -66,9 +58,6 @@ struct inter_interface {
void (*accinfo2) (bool success, int map_fd, int u_fd, int u_aid, int account_id, const char *userid, const char *user_pass,
const char *email, const char *last_ip, const char *lastlogin, const char *pin_code, const char *birthdate,
int group_id, int logincount, int state);
- struct WisData *(*add_wisdata) (int fd, const unsigned char *src, const unsigned char *dst, const unsigned char *msg, int msg_len);
- struct WisData *(*get_wisdata) (int id);
- void (*remove_wisdata) (int id);
};
#ifdef HERCULES_CORE