summaryrefslogtreecommitdiff
path: root/src/map/chrif.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/chrif.hpp')
-rw-r--r--src/map/chrif.hpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/map/chrif.hpp b/src/map/chrif.hpp
index 2816e9f..6dca70c 100644
--- a/src/map/chrif.hpp
+++ b/src/map/chrif.hpp
@@ -1,6 +1,10 @@
#ifndef CHRIF_HPP
#define CHRIF_HPP
+#include "../common/dumb_ptr.hpp"
+
+#include "map.hpp"
+
void chrif_setuserid(const char *);
void chrif_setpasswd(const char *);
char *chrif_getpasswd(void);
@@ -10,11 +14,11 @@ void chrif_setport(int);
int chrif_isconnect(void);
-int chrif_authreq(struct map_session_data *);
-int chrif_save(struct map_session_data *);
-int chrif_charselectreq(struct map_session_data *);
+int chrif_authreq(dumb_ptr<map_session_data>);
+int chrif_save(dumb_ptr<map_session_data>);
+int chrif_charselectreq(dumb_ptr<map_session_data>);
-int chrif_changemapserver(struct map_session_data *sd,
+int chrif_changemapserver(dumb_ptr<map_session_data> sd,
char *name, int x, int y,
struct in_addr ip, short port);
@@ -24,7 +28,7 @@ int chrif_changeemail(int id, const char *actual_email,
const char *new_email);
int chrif_char_ask_name(int id, char *character_name, short operation_type,
int year, int month, int day, int hour, int minute, int second);
-int chrif_saveaccountreg2(struct map_session_data *sd);
+int chrif_saveaccountreg2(dumb_ptr<map_session_data> sd);
int chrif_reloadGMdb(void);
int chrif_send_divorce(int char_id);