summaryrefslogtreecommitdiff
path: root/src/map/mapreg.h
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-10 23:29:47 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-05-12 03:45:25 +0200
commite14e4c77614afa2cacab9b5042554702da4b04fa (patch)
treeb660880f41e2bcb2bf92923d691e2ec7ef5a8100 /src/map/mapreg.h
parent41b883d4c27b21567eb2558b84ce80c43765b979 (diff)
downloadhercules-e14e4c77614afa2cacab9b5042554702da4b04fa.tar.gz
hercules-e14e4c77614afa2cacab9b5042554702da4b04fa.tar.bz2
hercules-e14e4c77614afa2cacab9b5042554702da4b04fa.tar.xz
hercules-e14e4c77614afa2cacab9b5042554702da4b04fa.zip
Read name of new map_reg_*_db tables from configuration file
Diffstat (limited to 'src/map/mapreg.h')
-rw-r--r--src/map/mapreg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/mapreg.h b/src/map/mapreg.h
index b3b89e1b2..bd0e13e21 100644
--- a/src/map/mapreg.h
+++ b/src/map/mapreg.h
@@ -48,6 +48,8 @@ struct mapreg_interface {
struct eri *ers; //[Ind/Hercules]
/* */
char table[32];
+ char num_db[32]; //!< Name of SQL table which holds permanent global integer variables.
+ char str_db[32]; //!< Name of SQL table which holds permanent global string variables.
/* */
bool dirty; ///< Whether there are modified regs to be saved
/* */
@@ -63,6 +65,7 @@ struct mapreg_interface {
int (*save_timer) (int tid, int64 tick, int id, intptr_t data);
int (*destroyreg) (union DBKey key, struct DBData *data, va_list ap);
void (*reload) (void);
+ bool (*config_read_registry) (const char *filename, const struct config_setting_t *config, bool imported);
bool (*config_read) (const char *filename, const struct config_setting_t *config, bool imported);
};