summaryrefslogtreecommitdiff
path: root/src/char/inter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/inter.h')
-rw-r--r--src/char/inter.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/char/inter.h b/src/char/inter.h
index f15c8b0f7..c4bb43c1d 100644
--- a/src/char/inter.h
+++ b/src/char/inter.h
@@ -21,25 +21,25 @@ void inter_defaults(void);
* inter interface
**/
struct inter_interface {
- Sql* sql_handle;
- const char* (*msg_txt) (int msg_number);
- bool (*msg_config_read) (const char *cfg_name, bool allow_override);
- void (*do_final_msg) (void);
- const char* (*job_name) (int class_);
- void (*vmsg_to_fd) (int fd, int u_fd, int aid, char* msg, va_list ap);
- void (*msg_to_fd) (int fd, int u_fd, int aid, char *msg, ...);
- void (*savereg) (int account_id, int char_id, const char *key, unsigned int index, intptr_t val, bool is_string);
- int (*accreg_fromsql) (int account_id,int char_id, int fd, int type);
- int (*config_read) (const char* cfgName);
- int (*vlog) (char* fmt, va_list ap);
- int (*log) (char* fmt, ...);
- int (*init_sql) (const char *file);
- int (*mapif_init) (int fd);
- int (*check_ttl_wisdata_sub) (DBKey key, 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);
+ Sql* sql_handle;
+ const char* (*msg_txt) (int msg_number);
+ bool (*msg_config_read) (const char *cfg_name, bool allow_override);
+ void (*do_final_msg) (void);
+ const char* (*job_name) (int class_);
+ void (*vmsg_to_fd) (int fd, int u_fd, int aid, char* msg, va_list ap);
+ void (*msg_to_fd) (int fd, int u_fd, int aid, char *msg, ...);
+ void (*savereg) (int account_id, int char_id, const char *key, unsigned int index, intptr_t val, bool is_string);
+ int (*accreg_fromsql) (int account_id,int char_id, int fd, int type);
+ int (*config_read) (const char* cfgName);
+ int (*vlog) (char* fmt, va_list ap);
+ int (*log) (char* fmt, ...);
+ int (*init_sql) (const char *file);
+ int (*mapif_init) (int fd);
+ int (*check_ttl_wisdata_sub) (DBKey key, 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);
};
struct inter_interface *inter;