From a5861a4c81bb616b7fba2028cf9ee31f890357c5 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 8 Sep 2013 19:43:28 -0700 Subject: Use IP4 classes and rename conf variables --- src/map/chrif.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/chrif.hpp') 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); int chrif_changemapserver(dumb_ptr 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, -- cgit v1.2.3-70-g09d2