summaryrefslogtreecommitdiff
path: root/src/char/char.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-31 15:11:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-15 11:47:29 +0300
commit49f424935dee19fd7be02e0b598f6f24ca5e76ef (patch)
tree46094f43a07d774b5ba26eba89f4baa89a57bedf /src/char/char.h
parent77b88fe80b907122b24d698938538c22e029d25f (diff)
downloadhercules-49f424935dee19fd7be02e0b598f6f24ca5e76ef.tar.gz
hercules-49f424935dee19fd7be02e0b598f6f24ca5e76ef.tar.bz2
hercules-49f424935dee19fd7be02e0b598f6f24ca5e76ef.tar.xz
hercules-49f424935dee19fd7be02e0b598f6f24ca5e76ef.zip
Add prefix char_ to most functions in char.c
Diffstat (limited to 'src/char/char.h')
-rw-r--r--src/char/char.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/char/char.h b/src/char/char.h
index 4d053484b..8c3e726c6 100644
--- a/src/char/char.h
+++ b/src/char/char.h
@@ -55,20 +55,20 @@ enum {
TABLE_GUILD_STORAGE,
};
-int memitemdata_to_sql(const struct item items[], int max, int id, int tableswitch);
+int char_memitemdata_to_sql(const struct item items[], int max, int id, int tableswitch);
int mapif_sendall(unsigned char *buf,unsigned int len);
int mapif_sendallwos(int fd,unsigned char *buf,unsigned int len);
int mapif_send(int fd,unsigned char *buf,unsigned int len);
void mapif_on_parse_accinfo(int account_id,int u_fd, int aid, int castergroup, int map_fd);
-void disconnect_player(int account_id);
+void char_disconnect_player(int account_id);
-int char_married(int pl1,int pl2);
-int char_child(int parent_id, int child_id);
-int char_family(int pl1,int pl2,int pl3);
+int char_char_married(int pl1,int pl2);
+int char_char_child(int parent_id, int child_id);
+int char_char_family(int pl1,int pl2,int pl3);
-int request_accreg2(int account_id, int char_id);
+int char_request_accreg2(int account_id, int char_id);
int login_fd;
extern int char_name_option;
extern char char_name_letters[];
@@ -117,8 +117,8 @@ extern int db_use_sql_mob_skill_db;
extern int guild_exp_rate;
extern int log_inter;
-void global_accreg_to_login_start (int account_id, int char_id);
-void global_accreg_to_login_send (void);
-void global_accreg_to_login_add (const char *key, unsigned int index, intptr_t val, bool is_string);
+void char_global_accreg_to_login_start (int account_id, int char_id);
+void char_global_accreg_to_login_send (void);
+void char_global_accreg_to_login_add (const char *key, unsigned int index, intptr_t val, bool is_string);
#endif /* COMMON_CHAR_H */