diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-07 20:58:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 11:47:29 +0300 |
commit | 67e60992dbe7dc855d89a9443249ad82f6268f2f (patch) | |
tree | 64237ba927443a32dfa509cc7f3801f2ac513151 /src/char/int_elemental.h | |
parent | 9d6efc2567484d5f218f56de2ad0757ea71d0c1d (diff) | |
download | hercules-67e60992dbe7dc855d89a9443249ad82f6268f2f.tar.gz hercules-67e60992dbe7dc855d89a9443249ad82f6268f2f.tar.bz2 hercules-67e60992dbe7dc855d89a9443249ad82f6268f2f.tar.xz hercules-67e60992dbe7dc855d89a9443249ad82f6268f2f.zip |
Add most functions from int_elemental.c to interfaces.
Diffstat (limited to 'src/char/int_elemental.h')
-rw-r--r-- | src/char/int_elemental.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/char/int_elemental.h b/src/char/int_elemental.h index e28cfedea..d9ad6ec29 100644 --- a/src/char/int_elemental.h +++ b/src/char/int_elemental.h @@ -6,10 +6,14 @@ #include "../common/cbasetypes.h" -void inter_elemental_sql_init(void); -void inter_elemental_sql_final(void); -int inter_elemental_parse_frommap(int fd); +void inter_elemental_defaults(void); -bool mapif_elemental_delete(int ele_id); +struct inter_elemental_interface { + void (*sql_init) (void); + void (*sql_final) (void); + int (*parse_frommap) (int fd); +}; + +struct inter_elemental_interface *inter_elemental; #endif /* CHAR_INT_ELEMENTAL_H */ |