diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-09-08 19:43:28 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-09-09 19:29:31 -0700 |
commit | a5861a4c81bb616b7fba2028cf9ee31f890357c5 (patch) | |
tree | 0a7aedad97d70b6194eb57a7de39857d015685a3 /src/map/chrif.hpp | |
parent | 367e76ba89bde0e3fb6c4ae0e64cd3927e0db2f2 (diff) | |
download | tmwa-a5861a4c81bb616b7fba2028cf9ee31f890357c5.tar.gz tmwa-a5861a4c81bb616b7fba2028cf9ee31f890357c5.tar.bz2 tmwa-a5861a4c81bb616b7fba2028cf9ee31f890357c5.tar.xz tmwa-a5861a4c81bb616b7fba2028cf9ee31f890357c5.zip |
Use IP4 classes and rename conf variables
Diffstat (limited to 'src/map/chrif.hpp')
-rw-r--r-- | src/map/chrif.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/chrif.hpp b/src/map/chrif.hpp index 97760c3..dfcc12b 100644 --- a/src/map/chrif.hpp +++ b/src/map/chrif.hpp @@ -3,6 +3,7 @@ #include "../common/dumb_ptr.hpp" #include "../common/human_time_diff.hpp" +#include "../common/ip.hpp" #include "map.hpp" @@ -10,7 +11,7 @@ void chrif_setuserid(AccountName); void chrif_setpasswd(AccountPass); AccountPass chrif_getpasswd(void); -void chrif_setip(IP_String); +void chrif_setip(IP4Address); void chrif_setport(int); int chrif_isconnect(void); @@ -21,9 +22,8 @@ int chrif_charselectreq(dumb_ptr<map_session_data>); int chrif_changemapserver(dumb_ptr<map_session_data> sd, MapName name, int x, int y, - struct in_addr ip, short port); + IP4Address ip, short port); -int chrif_searchcharid(int char_id); void chrif_changegm(int id, ZString pass); void chrif_changeemail(int id, AccountEmail actual_email, AccountEmail new_email); void chrif_char_ask_name(int id, CharName character_name, short operation_type, |